This tip is for creating symlink for your favorite text editor, it is like an alias but more powerful. This would allow you to launch the application from the command line. ( You can do the same by setting paths as an alternative to symlinks). Symlinks can only be created from the terminal.
First find out the bin executable directory for the application. Then for the location where the symlink is to be created – /usr/local/bin/
The following command allows you to create symlink for Sublime Text
sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
Then to launch it from the terminal simply type : subl
The following command allows you to create symlink for Visual Studio Code
sudo ln -s "Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" /usr/local/bin/code
Then to launch it from the terminal simply type : code