Created
August 9, 2016 15:03
-
-
Save bangonkali/02ba0dc50aebca627fa68ff3a7325b8e to your computer and use it in GitHub Desktop.
Creating a symlink for visual studio code on mac os x el capitan
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
sudo ln -s "/Applications/Visual Studio Code.app/Contents/MacOS/Electron" /usr/local/bin/code |
Hi Guys, there is a better more standard way to do this now using the command palette.
Hi Guys, there is a better more standard way to do this now using the command palette.
What is it? @bangonkali?
I think best way is to use command palette in the vscode
For this to work a symbolic link file named code must be created in the /usr/local/bin folder:
Start Visual Studio Code:
Open the Command Palette(⇧⌘P) and type shell command
find the Shell Command: Install 'code' command in PATH command. Click Enter...
Adds a soft link to /Applications/Visual Studio Code.app/Contents/Resources/app/bin/code and places it in /usr/local/bin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
+1