visualzoran / vz-file-templates

File template manager for Visual Studio Code
MIT License
19 stars 10 forks source link

Feature request: files with multiple extensions #13

Closed ErikBean closed 5 years ago

ErikBean commented 5 years ago

Hello, I am trying to use this package to auto-generate unit test files from template for a large project. The problem is, we have a naming convention to use foo.test.js pattern as file names This means $itemname$ becomes foo.test and $safeitemname$ becomes footest It would be nice to use the file name without the .test extension in these variables. Thank you! P.S. I can open a PR if you could help me get started by pointing me to the relevant place in code