Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Create Visual Studio Code CLI #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Text/Visual Studio Code CLI
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Visual Studio Code comes with an inbuilt Command Line Interface.
Once you've installed Visual Studio Code, and have it open, press ⇧⌘P to open the command palette for Mac,
or just ⌘P and the press > button.

Next, type in shell command, select Install Code Command in PATH, and press enter.

Now if you type in code, Visual Studio Code will open, and code <path>,
Visual Studio Code will open with the directory represented by Path.

To see the command line interface however, type in code -h