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

Snippets ruin autocomplete selection. #69

Open
jordwalke opened this issue Oct 31, 2013 · 1 comment
Open

Snippets ruin autocomplete selection. #69

jordwalke opened this issue Oct 31, 2013 · 1 comment

Comments

@jordwalke
Copy link

Open a new .js file:

Type the following text:

completeMe

They open up the "for" snippet (by typing "for" <TAB> and selecting the first menu option).

Begin typing completeMe.

You'll see the snippet window open and close repeatedly and never highlight completeMe as an option.

Whereas if you try the if snippet by typing "if" followed by <TAB>, you'll see the correct behavior. I believe it has to do with the fact that the for snippet "mirrors" the placeholder in multiple places in the snippet output.

@Shadowfiend
Copy link
Member

Interesting. Yeah, that wouldn't be surprising. I have an experimental branch somewhere implementing multiple cursors and switching snippet placeholders to use them (way way not ready hehe), I idly wonder if that will help…

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

No branches or pull requests

2 participants