This file contains 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
The filename of the current document without its extensions | |
${TM_FILENAME_BASE} | |
Button.ts -> Button | |
The line before the first dot in the filename of the current document | |
Button.test.ts -> Button | |
${TM_FILENAME/([a-z0-9]+)\\..+$/$1/gi} | |
Name of the first subdirectory, after 'src' (detecting FSD layer) | |
${RELATIVE_FILEPATH/src\\/([a-z]+)\\/.*/$1/gi} |
This file contains 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
#!/bin/bash | |
# README: A more updated version is on the comments by (ashmna)[https://gist.github.com/ashmna] | |
# See at: https://gist.github.com/allangarcia/938b052a7d55d1652052e4259364260b?permalink_comment_id=4265898#gistcomment-4265898 | |
# this is for tools required | |
brew update | |
brew install ninja | |
brew install cmake |