Loading ...

code . not working in terminal for Visual Studio Code on MAC | CodeAsp.Net

code . not working in terminal for Visual Studio Code on MAC

 /5
0 (0votes)

Following steps will help you to make code . command in Terminal to open VSCode on MAC

Install "Shell" extension from VSCode:

Restart VSCode.

Press F1 when VSCode is opened.

Type "Shell" and select the following option: Shell Command: Install 'code' command in PATH command

"Shell command 'code' successfully installed in PATH" message will be presented.

Run "which code" command in the Terminal to verify that "code" command has been sent to PATH : 

Running "code ." command will open the VSCode at the location where Terminal is opened.

Comments (no comments yet)

Top Posts