Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vscode: how to make text after snippet *not* selected?

When a snippet (for whatever language) is triggered, and the cursor is moved to a tab-stop, the area is "selected" (that is, you are still in "snippet mode" where you can go to another tab-stop). But I would like to get out of this "snippet mode" (e.g not having the area selected after tab-stop), because it suppresses intellisense (the selected area after snippet was triggered accepts anything, so it does no longer suggest intellisense function, variables, etc. Is there a settings in vscode to disable this "selection" after snippet is triggered?

like image 997
milanHrabos Avatar asked Oct 21 '25 20:10

milanHrabos


1 Answers

If you have only one tabstop you can use $0 to avoid the "selecttion".

But if you have more than one i don't think it's possible.

like image 83
Gustavo Silva Avatar answered Oct 23 '25 14:10

Gustavo Silva



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!