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
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.12.4
BuildVersion: 16E195
Feature Request:
Currently, the TM_FILENAME includes the extension and their is no way to strip this within a snippet. For snippets such as those that insert a class definition in languages where the file name is conventionally relevant to the class / module / function within, it would be great to get access to the filename with the extension stripped.
I can't think of a scenario with the filename extension is relevant, honestly, but if you're going to split the string on the first occurrence of a ., you might as well join everything to the right of that dot and have a var for that as well. :)
The text was updated successfully, but these errors were encountered:
Feature Request:
Currently, the TM_FILENAME includes the extension and their is no way to strip this within a snippet. For snippets such as those that insert a class definition in languages where the file name is conventionally relevant to the class / module / function within, it would be great to get access to the filename with the extension stripped.
I can't think of a scenario with the filename extension is relevant, honestly, but if you're going to split the string on the first occurrence of a
.
, you might as well join everything to the right of that dot and have a var for that as well. :)The text was updated successfully, but these errors were encountered: