newdevs:landscape:tools:vscode
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
newdevs:landscape:tools:vscode [2024/08/29 12:05] – [File Associations and Syntax Highlighting] sleary | newdevs:landscape:tools:vscode [2025/02/26 11:53] (current) – sleary | ||
---|---|---|---|
Line 54: | Line 54: | ||
* [[https:// | * [[https:// | ||
* Use the '' | * Use the '' | ||
+ | |||
+ | ===== Command Line Tools for the VSCode Terminal ===== | ||
+ | |||
+ | To open a file from the Terminal command line into a new window in the VSCode editor, use: | ||
+ | < | ||
+ | code path/ | ||
+ | </ | ||
+ | |||
+ | To open the file in your current workspace (assuming the file exists somewhere in your working directory), use '' | ||
+ | < | ||
+ | code -r path/ | ||
+ | </ | ||
+ | |||
+ | You can edit '' | ||
+ | < | ||
+ | alias vscode=' | ||
+ | </ | ||
+ | |||
+ | ...which would allow you to edit the file with | ||
+ | < | ||
+ | vscode path/ | ||
+ | </ | ||
+ | |||
+ | See the [[newdevs: | ||
See the [[newdevs: | See the [[newdevs: |
newdevs/landscape/tools/vscode.1724947508.txt.gz · Last modified: 2024/08/29 12:05 by sleary