Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: $TM_FILENAME variable without file extension in snippets #29582

Closed
HosseinAgha opened this issue Jun 27, 2017 · 1 comment
Closed
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) snippets

Comments

@HosseinAgha
Copy link

  • VSCode Version: 1.13.1
  • OS Version: OSX Sierra

I want to use only file name without file extension in my snippet.
For sublime the solution was like this:
${TM_FILENAME/(.+)\..+|.*/$1/:name}

@HosseinAgha HosseinAgha changed the title Feature Request: $TM_FILENAME variable without extension in snippets Feature Request: $TM_FILENAME variable without file extension in snippets Jun 27, 2017
@jrieken jrieken added snippets *duplicate Issue identified as a duplicate of another issue(s) labels Jul 10, 2017
@jrieken
Copy link
Member

jrieken commented Jul 10, 2017

dupe of #6920

@jrieken jrieken closed this as completed Jul 10, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) snippets
Projects
None yet
Development

No branches or pull requests

2 participants