1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 16:02:10 +02:00
tldr/pages/common/code.md
2017-12-18 10:26:49 +00:00

19 lines
298 B
Markdown

# code
> Visual Studio Code.
- Open VS Code:
`code`
- Open the current directory in VS Code:
`code .`
- Open a file or directory in VS Code:
`code {{path/to/file_or_folder}}`
- Open a file or directory in the currently open VS Code window:
`code --reuse-window {{path/to/file_or_folder}}`