add chinese for pages.cn/linux/add-apt-respository.md
This commit is contained in:
23
pages.cn/common/code.md
Normal file
23
pages.cn/common/code.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# code
|
||||
|
||||
> Visual Studio Code.
|
||||
|
||||
- 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}}`
|
||||
|
||||
- Open a file or directory in the currently open VS Code window:
|
||||
|
||||
`code --reuse-window {{path/to/file_or_folder}}`
|
||||
|
||||
- Compare two files in VS Code:
|
||||
|
||||
`code -d {{file1}} {{file2}}`
|
||||
Reference in New Issue
Block a user