Closed oiiiiiiii closed 1 year ago
Sometimes it does work however. I have no idea why it sometimes works as expected and sometimes not
I figured it out now: When the suggestion menu is visible when pressing tab to switch between tabstops this bug occurs
Can be solved by doing the following: remove && !suggestWidgetVisible
from the when clause context of the keyboard shortcut for hsnips.nextPlaceholder. Maybe it is also just some user specific setup that causes this behavior for me. But I also don't understand why the next tabstop is reaced if the when-clause-context should prevent it in that case
I believe the extension is somewhat broken with one of the more recent VSCode updates. I can no longer read tabstops properly. I disabled all other extensions but the problem is still there. E.g. I have this snippet.
When I type
ak[Tab]k[tab]l
I get this console output in the developer console:As you can see the content of the first tabstop is still accessible, but the second is not inserted in the t-array and when typing something in the last, an exception occurs. The exception is also thrown when I use $3 instead of $0.