Skip to content

Commit 8281048

Browse files
code: refresh page (#16412)
Co-authored-by: Fazle Arefin <[email protected]>
1 parent fe3284e commit 8281048

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pages/common/code.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# code
22

33
> Cross platform and extensible code editor.
4-
> More information: <https://github.com/microsoft/vscode>.
4+
> More information: <https://code.visualstudio.com/docs/configure/command-line>.
55
66
- Start Visual Studio Code:
77

@@ -13,19 +13,19 @@
1313

1414
- Compare two specific files:
1515

16-
`code --diff {{path/to/file1}} {{path/to/file2}}`
16+
`code {{[-d|--diff]}} {{path/to/file1}} {{path/to/file2}}`
1717

1818
- Open specific files/directories in a new window:
1919

20-
`code --new-window {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
20+
`code {{[-n|--new-window]}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
2121

2222
- Install/uninstall a specific extension:
2323

2424
`code --{{install|uninstall}}-extension {{publisher.extension}}`
2525

26-
- Print installed extensions:
26+
- Display diagnostic and process information about the running code window:
2727

28-
`code --list-extensions`
28+
`code {{[-s|--status]}}`
2929

3030
- Print installed extensions with their versions:
3131

0 commit comments

Comments
 (0)