2017-10-24 19:11:53 +03:00
|
|
|
# code
|
|
|
|
|
|
|
|
> Visual Studio Code.
|
2019-06-03 03:06:36 +03:00
|
|
|
> More information: <https://github.com/microsoft/vscode>.
|
2017-10-24 19:11:53 +03:00
|
|
|
|
|
|
|
- Open VS Code:
|
|
|
|
|
|
|
|
`code`
|
|
|
|
|
|
|
|
- Open the current directory in VS Code:
|
|
|
|
|
|
|
|
`code .`
|
|
|
|
|
|
|
|
- Open a file or directory in VS Code:
|
|
|
|
|
2019-02-08 03:28:43 +03:00
|
|
|
`code {{path/to/file_or_directory}}`
|
2017-12-18 13:26:49 +03:00
|
|
|
|
|
|
|
- Open a file or directory in the currently open VS Code window:
|
|
|
|
|
2019-02-08 03:28:43 +03:00
|
|
|
`code --reuse-window {{path/to/file_or_directory}}`
|
2018-12-03 18:18:25 +03:00
|
|
|
|
|
|
|
- Compare two files in VS Code:
|
|
|
|
|
|
|
|
`code -d {{file1}} {{file2}}`
|