-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Snippet suggestion triggered incorrectly #6320
Comments
@23min Can you share your snippet with us? Trying this with the |
|
Understood. It is like this because we compare suggestions against their |
Reopening and reverting this due to #6620 |
Now depends on #6620 |
Sorry, need to revert again due to #8531. There is still something wrong with the |
Thanks @jrieken ! |
This also affects "inbuilt" snippets: when working in Typescript, typing "c" shows the completion for the "class" snippet -- however, finishing out to "const" leaves the "class" snippet still selected, so an keypress to move to the next line for a bunch of consts gets me a class snippet. I stumbled across this report from searching GitHub issues for vscode and snippets -- if this addition should be put somewhere else, please advise. |
Steps to Reproduce:
(I created mine in ~/Library/Application Support/Code/User/snippets/elixir.json)
S
ors
, intellisense correctly suggests snippet "sup"erv
intellisense still suggests snippet "sup"Expected behavior:
When the typed characters no longer match the start of a snippet prefix, the snippet suggestion should not be shown.
The text was updated successfully, but these errors were encountered: