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
The transformation ${TM_FILENAME_BASE/(^|_)([a-zA-Z0-9])/${2:/upcase}/g} would normally remove the underscores and capitalize the filename, but in the snippet above, the file name is directly inserted without any transformation. However, after replacing ${BaseClass} with ${1:BaseClass},
the snippet works as expected.
VS Code version: Code 1.24.0 (6a6e02c, 2018-06-06T17:37:01.579Z)
OS version: Linux x64 4.16.14-300.fc28.x86_64
The text was updated successfully, but these errors were encountered:
jrieken
added
info-needed
Issue requires more information from poster
and removed
bug
Issue identified by VS Code Team member as probable bug
labels
Jun 22, 2018
@chingyat I actually cannot reproduce anymore... Can you give it a try with latest insiders please https://code.visualstudio.com/insiders/. We did make some changes in the variables world and this might have been fixed by that.
jrieken
added
bug
Issue identified by VS Code Team member as probable bug
and removed
info-needed
Issue requires more information from poster
labels
Jun 25, 2018
Issue Type: Bug
Consider the following snippet:
The transformation
${TM_FILENAME_BASE/(^|_)([a-zA-Z0-9])/${2:/upcase}/g}
would normally remove the underscores and capitalize the filename, but in the snippet above, the file name is directly inserted without any transformation. However, after replacing${BaseClass}
with${1:BaseClass}
,the snippet works as expected.
VS Code version: Code 1.24.0 (6a6e02c, 2018-06-06T17:37:01.579Z)
OS version: Linux x64 4.16.14-300.fc28.x86_64
The text was updated successfully, but these errors were encountered: