Created
May 29, 2021 13:44
-
-
Save bantya/89701923483626fe6c404c66e1c80dc6 to your computer and use it in GitHub Desktop.
VS Code Angular snippet filename transformation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// https://github.com/microsoft/vscode/issues/78110#issuecomment-524676592 | |
"f-filename": { | |
"prefix": "f-filename", | |
"body": [ | |
"${TM_FILENAME_BASE/((^[a-z])|[-.]([a-z]))/${2:/upcase}${3:/upcase}/g}" | |
], | |
"description": "filename" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment