I just want to open vscode in terminal and I already install shell code command in path in vscode, I restart terminal by quitting and open and I have my vscode download in Mac not in application cause when I move vscode to application it won't open and I have to move vscode to trash and redownload it again, do I have to also restart my computer?
vscode
Start with pwd in terminal
For open zsh in vscode:
For open vscode:
For check out vscode version in terminal:
Youtube search: vscode in macbook
Found this: How to Install Visual Studio Code on Mac https://www.youtube.com/watch?v=tCfbi5PF1y0
Btw this is the long way, the short way is to: Open the Command Palette (Cmd+Shift+P) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.
Website: https://code.visualstudio.com/docs/setup/mac
the reason for vscode not open cause of the data confuse which cause the vscode to not open, to solve the vscode not open when you put vscode in application, you basically have to redo the uninstall & install again, below are todo list if you are having the same problem:
step 1 uninstall and install vscode
step 2 move vscode from download to application
step 3 open vscode in launchpad
Step 4 uninstall & Shell Command: Install 'code' command in PATH command.
step 5 quit terminal and open it again
step 6 use the command line in above question to check if it work
Start with pwd in terminal:
pwd
code
code -v
code ~/.zshrc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With