mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 14:14:17 +02:00
code: refresh page (#16412)
Co-authored-by: Fazle Arefin <fazlearefin@yahoo.com>
This commit is contained in:
parent
fe3284e0bf
commit
8281048a8b
1 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# code
|
# code
|
||||||
|
|
||||||
> Cross platform and extensible code editor.
|
> Cross platform and extensible code editor.
|
||||||
> More information: <https://github.com/microsoft/vscode>.
|
> More information: <https://code.visualstudio.com/docs/configure/command-line>.
|
||||||
|
|
||||||
- Start Visual Studio Code:
|
- Start Visual Studio Code:
|
||||||
|
|
||||||
|
@ -13,19 +13,19 @@
|
||||||
|
|
||||||
- Compare two specific files:
|
- Compare two specific files:
|
||||||
|
|
||||||
`code --diff {{path/to/file1}} {{path/to/file2}}`
|
`code {{[-d|--diff]}} {{path/to/file1}} {{path/to/file2}}`
|
||||||
|
|
||||||
- Open specific files/directories in a new window:
|
- Open specific files/directories in a new window:
|
||||||
|
|
||||||
`code --new-window {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
|
`code {{[-n|--new-window]}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
|
||||||
|
|
||||||
- Install/uninstall a specific extension:
|
- Install/uninstall a specific extension:
|
||||||
|
|
||||||
`code --{{install|uninstall}}-extension {{publisher.extension}}`
|
`code --{{install|uninstall}}-extension {{publisher.extension}}`
|
||||||
|
|
||||||
- Print installed extensions:
|
- Display diagnostic and process information about the running code window:
|
||||||
|
|
||||||
`code --list-extensions`
|
`code {{[-s|--status]}}`
|
||||||
|
|
||||||
- Print installed extensions with their versions:
|
- Print installed extensions with their versions:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue