Answers for "open project in vs code from terminal"

0

open project in vs code from terminal

// Navigate to your project directory in terminal 
// then enter the below command 

open -a 'Visual Studio Code' .

// the above will open the whole project folder 
// if you wan to only open a single file from the project use

open -a 'Visual Studio Code' fileName.html
Posted by: Guest on June-08-2021
3

code command line options

code -r <path-to-working-directory>
Posted by: Guest on June-04-2020
2

vs code a project folder from the command line

cd my-project-folder/
code -n .
Posted by: Guest on April-03-2020
0

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 "open project in vs code from terminal"

Browse Popular Code Answers by Language