1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-09 18:53:18 +02:00

code: refresh page (#16412)

Co-authored-by: Fazle Arefin <fazlearefin@yahoo.com>
This commit is contained in:
CleanMachine1 2025-05-11 15:08:12 +01:00 committed by GitHub
parent fe3284e0bf
commit 8281048a8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
# code
> 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:
@ -13,19 +13,19 @@
- 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:
`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:
`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: