visual studio code run command code example
Example 1: code in terminal
cat << EOF >> ~/.bash_profile
# Add Visual Studio Code (code)
export PATH="\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
EOF
Example 2: substitute everything visual studio code
Click on the left bar the search icon
Then with the symbol at the right side of the input field decide if apport the substitution to all files