Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor position inside brackets? #8

Open
santiagopuentep opened this issue Jan 8, 2018 · 2 comments
Open

Cursor position inside brackets? #8

santiagopuentep opened this issue Jan 8, 2018 · 2 comments

Comments

@santiagopuentep
Copy link

Pressing ctrl + shift + L creates a console.log statement but it is selected and with the cursor at the end. Wouldn't it be better if it was created without selection and with the cursor between the brackets?

As it is now it's almost as fast to write down the console.log manually than to press ctrl + shift + L -> right arrow (to deselect) -> left arrow -> left arrow to put the cursor in place.

@jeffreyscottfrench
Copy link

I submitted a revised PR for this, but if anyone wants the few lines of code for the hot fix, let me know.

@santiagopuentep
Copy link
Author

@jeffreyscottfrench Great! Thanks! I'll wait for the PR to be approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants