Linked Questions
11 questions linked to/from "code ." is not working in on the command line for Visual Studio Code on OS X/Mac
3495 votes
35 answers
1.6m views
How do I make git use the editor of my choice for editing commit messages?
How do I globally configure git to use a particular editor (e.g. vim) for commit messages?
269 votes
18 answers
262k views
How to fix VS Code error "permission denied, unlink 'usr/local/bin/code'"
I can run the command Shell Command: Install 'code' command. Testing it works, but if I close VS Code or after a couple of hours of adding the command, it doesn't work. Terminal says zsh: command not ...
52 votes
13 answers
140k views
Visual Studio Code - "Shell Command: Install 'code' command in PATH command."
Consider: I just started with Angular. I installed angular/cli and added a project. Now I want to use Visual Studio Code. I open the Command Palette (Ctrl + Shift + P) and type 'shell command' to ...
34 votes
8 answers
28k views
VS Code doesn't add command line on path permanently on Mac
I am using VS code 1.8.1 on Mac 10.12.3 (16D32). After launch vscode, I run cmd shift p to open command search field. Then run Install code command in Path. I can see the code got added on PATH but it ...
36 votes
3 answers
91k views
How can I open a .md file in VS Code preview mode from terminal?
VS Code has a good preview mode for .md files. To open a file with this mode, I have to right-click the file in VS Code document tree, and click "Open Preview". One can also use shortcut ...
8 votes
2 answers
34k views
"Code" command not found in VS Code on Mac
I have just begun to code so everything is new to me. I have started using VS Code with Python 3.11 and macOS Monterey 12.6. However, very soon I discovered that when I enter the "code" ...
0 votes
3 answers
3k views
Menubar not visible in the latest version of VS Code (1.86) on mac (14.3)
Menubar is not visible on mac(14.3) on the latest version of the visual studio code which is 1.86. I tried several things suggested online like toggling full screen mode and command + control + p ->...
0 votes
1 answer
3k views
Not able to run Azure functions in VS code in mac?
I am trying to follow this tutorial to run azure function app using C# using vscode. But when I click the run button, it shows "You must have the Azure Functions Core Tools installed to debug ...
3 votes
2 answers
956 views
Mac OSx and VS Code: getting `LSGetApplicationForInfo() failed with error` when starting from terminal
I installed VS Code and run the Shell Command: Install 'code' command in PATH as per documentation (and as found in this answer) At first it was working, but after a reboot (I suppose) I couldn't get ...
0 votes
1 answer
2k views
Trying to install MonoGame for mac and VS Code
I'm trying to install MonoGame for mac and VS code. I followed the instructions at https://docs.monogame.net/articles/getting_started/1_setting_up_your_development_environment_macos.html, but I am ...
1 vote
1 answer
72 views
Visual Studio command line shortcut doesn't persist after closing the editor
I've installed the Visual Studio code command line shortcut using their package manager: However, I find that if I close Visual Studio, the Fish shell doesn't recognize the code command anymore: In my ...