Answers for "run in terminal vs code"

1

vscode command line run

code . ## to run vscode in your current directory
Posted by: Guest on February-25-2022
-1

vscode from terminal

code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}
Posted by: Guest on April-20-2020
1

open vs code from terminal

Launch VS Code.
Open the Command Palette (Cmd+Shift+P) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.
Restart the terminal
Navigate to project folder in terminal, 
Type code . press enter
Posted by: Guest on April-11-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language