File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
1010For a steady stream of TILs from a variety of rocketeers, checkout
1111[ til.hashrocket.com] ( https://til.hashrocket.com/ ) .
1212
13- _ 691 TILs and counting..._
13+ _ 692 TILs and counting..._
1414
1515---
1616
@@ -796,6 +796,7 @@ _691 TILs and counting..._
796796
797797## VSCode
798798
799+ - [ Add The VSCode CLI To Your Path] ( vscode/add-the-vscode-cli-to-your-path.md )
799800- [ Open An Integrated Terminal Window] ( vscode/open-an-integrated-terminal-window.md )
800801- [ Toggle Between Terminals] ( vscode/toggle-between-terminals.md )
801802
Original file line number Diff line number Diff line change 1+ # Add The VSCode CLI To Your Path
2+
3+ Visual Studio Code has a command line tool that can do a bunch of things.
4+ Perhaps the most common is opening up the current directory from the
5+ command line.
6+
7+ First, you need to add ` code ` to your path. This can be done from within
8+ Code itself.
9+
10+ Hit ` Cmd+Shift+p ` to pop open the command palette. Then start typing `Shell
11+ Command ...` until the ` Shell Command: Install "code" command in shell PATH`
12+ option appears. Select this and Code will add ` code ` to your path.
13+
14+ Try ` code . ` to open the current directory or run ` code --help ` for more
15+ details on what's available.
You can’t perform that action at this time.
0 commit comments