Need to open a project folder in Visual Studio Code from the command-line? For instance, after a flutter create project
.
In a terminal:
code path/to/folder
If code
is not available in your $PATH
, this is how we install it:
Hit Cmd
+ Shift
+ P
(or Ctrl
+ Shift
+ P
) and type “install command” to find the task that will perform the installation.