Skip to content

Instantly share code, notes, and snippets.

@bantya
Created May 29, 2021 13:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bantya/89701923483626fe6c404c66e1c80dc6 to your computer and use it in GitHub Desktop.
Save bantya/89701923483626fe6c404c66e1c80dc6 to your computer and use it in GitHub Desktop.
VS Code Angular snippet filename transformation
{
// 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