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
This is where things no longer work the same/as expected.
Typing the above ‘y’ now causes the snippet to “terminate”.
Pressing Tab at this point inserts an actual Tab following the 'y', instead of finishing the rest of the snippet.
However, in VSCode Sept’ 17 (1.17.2), the snippet continues on as expected.
Tab should now take you to the ‘right x’.
var y = x + 1;
Optionally, type something (for example, ‘z’).
var y = z + 1;
Regardless if you typed the above ‘z’ or left it as an 'x',
the final Tab should then take you to the end of the line and “complete” the snippet.
var y = z + 1;
The text was updated successfully, but these errors were encountered:
VSCode Version:
Nov. ’17 (1.19.2)
Also, 1.20.0-insider
OS Version:
MacOS High Sierra
Does this issue occur when all extensions are disabled?
Yes
Issue:
Additional info:
Steps to reproduce:
"var_snippet": {
"prefix": "s_var",
"body": [
"var ${2:${1:name}} = ${3:${1:name}} + 1;${0}"
],
"description": "Creates a var and adds 1"
}
Initial snippet state. Both name’s are selected.
var name = name + 1;
Type ‘x’ to change to:
var x = x + 1;
Tab should now take you to/select only the ‘left x’.
var x = x + 1;
Type ‘y’ in order to change the left ‘x’ to ‘y’.
var y = x + 1;
VSCode Nov’ 17 (1.19.2).
(Also VSCode 1.20.0-insider)
However, in VSCode Sept’ 17 (1.17.2), the snippet continues on as expected.
Tab should now take you to the ‘right x’.
var y = x + 1;
Optionally, type something (for example, ‘z’).
var y = z + 1;
Regardless if you typed the above ‘z’ or left it as an 'x',
the final Tab should then take you to the end of the line and “complete” the snippet.
var y = z + 1;
The text was updated successfully, but these errors were encountered: