-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 is not working Properly #5240
Comments
If you are using the latest 1.17 and seeing the bug, just downgrade to 1.16 manually |
thanks a lot. i downgrade to 1.16.0 and it's worked perfectly 💯
|
I'm hitting a similar issue with my extension |
I just did a |
Whats happening here is that we've made a change that when we get a selection we go into visual mode (which is what happens in normal Vim). When using snippets it creates a selection which goes into visual mode. Which shouldn't be any issue, one could just press Since we probably won't be able to fix the issue with TAB any time soon, I'm trying to find a way to detect a selection as being from a snippet so that we don't go into visual mode. @J-Fields I'm working on this one, but any ideas are welcome. |
Something similar for me. When I do ctrl+f to search for something with 'VSCode search' in insert mode it still is in insert mode. But when I select find next and previous I'm back into normal mode. I have set "vim.useCtrlKeys": false, |
The is a different thing. When you do a search vscode selects the word. Recently a change was made that every time vscode creates a selection we go to visual mode. This is the same behavior as in normal Vim, except in normal Vim you can change it to go to SelectMode instead of VisualMode. Since select mode hasn't been implemented yet we go to visual mode, then you do as expected in visual mode, want to change the selected word press 'c', want to append to that selection press 'A', want to copy press 'y', want to delete press 'd', etc. |
Is there a |
No. AFAIK there are no triggered events after a command being ran that the API exposes to the extensions. I've created the PR #5540 to try and fix this, can any of you test it and post your feedback? |
when i write a for loop using snipet's . when i press TAB key it's auto come to normal mode.
The text was updated successfully, but these errors were encountered: