You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This is a pretty specific bug, hopefully I explain it well!
If you have a snippet with a tab stop that starts at the beginning of a line, it will also select all space to the left of the tab stop. Therefore, if you're attempting to place the snippet within an indented area, the tab stop will also select all the empty space to the left.
However, this appears to only happen when the snippet is preceded by a multi-line comment.
Below, you'll see two identical snippets, however the first one has a preceding multi-line comment. When tabbing to the class_name tab stop, you'll see that it selects too much space, but this is not the case for the second example (the built-in proto snippet).
It should be noted that the multi-line comment must be defined as part of the snippet. Writing a multi-line comment, then invoking the proto snippet will not cause this bug to occur.