2017-10-24 17:11:53 +01:00
|
|
|
# code
|
|
|
|
|
|
|
|
> Visual Studio Code.
|
2019-01-30 11:19:23 +00:00
|
|
|
> Homepage: <https://github.com/microsoft/vscode>.
|
2017-10-24 17:11:53 +01:00
|
|
|
|
|
|
|
- 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}}`
|
2017-12-18 10:26:49 +00:00
|
|
|
|
|
|
|
- Open a file or directory in the currently open VS Code window:
|
|
|
|
|
|
|
|
`code --reuse-window {{path/to/file_or_folder}}`
|
2018-12-03 15:18:25 +00:00
|
|
|
|
|
|
|
- Compare two files in VS Code:
|
|
|
|
|
|
|
|
`code -d {{file1}} {{file2}}`
|