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
I'm assuming that this is not intended behavior, but if it is, I feel like there should be a setting to disable it. Moving the cursor to copy-paste text into snippet tab stops is an important part of some of my workflows, and I don't think I'm alone in that (this used to work in previous versions; I am not 100% sure in which version this issue first emerged).
Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered:
In you Step 3, where are you moving the cursor to? A separate location from where you wish to copy text?
When a snippet is inserted, tabbing moves you to the next tab stop, typing adds text and the next tab takes you to the next tab stop.
The moment you move the cursor manually, I believe you are taken out of the snippet mode
ramya-rao-a
changed the title
Moving the cursor should not cancel emmet abbreviation tab stops
Moving the cursor should not cancel tab stops in a snippet
Aug 19, 2017
Usually it's a separate location that contains text I want to copy into one of the tab stops. In the example of the <a> tag, this could be a hyperlink.
That is the design of snippets. You can move your cursor into placeholders and tabstops but as soon as you move it somewhere else snippet insertion stops. The rational for this is to have a light snippet mode that isn't sticky and hard to get out of. Also note that snippets behave like this in Textmate and Sublime.
Steps to Reproduce:
a
and presstab
. The cursor should now be between the double quotes afterhref
.tab
again.tab
has inserted a tab whitespace character.The same issue occurs using the following user-defined snippet rather than the emmet abbreviation:
I'm assuming that this is not intended behavior, but if it is, I feel like there should be a setting to disable it. Moving the cursor to copy-paste text into snippet tab stops is an important part of some of my workflows, and I don't think I'm alone in that (this used to work in previous versions; I am not 100% sure in which version this issue first emerged).
Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered: