add new chinese translations
This commit is contained in:
@@ -1,36 +1,36 @@
|
||||
# code
|
||||
# 代码
|
||||
|
||||
> 跨平台且可扩展的代码编辑器。
|
||||
> 更多信息:<https://github.com/microsoft/vscode>.
|
||||
> 更多信息:<https://github.com/microsoft/vscode>。
|
||||
|
||||
- 启动 Visual Studio Code:
|
||||
|
||||
`code`
|
||||
|
||||
- 打开指定的文件或目录:
|
||||
- 打开特定文件/目录:
|
||||
|
||||
`code {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}`
|
||||
`code {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
|
||||
|
||||
- 比较两个指定的文件:
|
||||
- 比较两个特定文件:
|
||||
|
||||
`code --diff {{路径/到/文件1}} {{路径/到/文件2}}`
|
||||
`code --diff {{path/to/file1}} {{path/to/file2}}`
|
||||
|
||||
- 在新窗口中打开指定的文件或目录:
|
||||
- 在新窗口中打开特定文件/目录:
|
||||
|
||||
`code --new-window {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}`
|
||||
`code --new-window {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
|
||||
|
||||
- 安装/卸载一个特定的插件:
|
||||
- 安装/卸载特定扩展:
|
||||
|
||||
`code --{{install|uninstall}}-extension {{插件作者.插件名}}`
|
||||
`code --{{install|uninstall}}-extension {{publisher.extension}}`
|
||||
|
||||
- 输出已安装的插件:
|
||||
- 打印已安装的扩展:
|
||||
|
||||
`code --list-extensions`
|
||||
|
||||
- 输出已安装的插件及其版本:
|
||||
- 打印已安装的扩展及其版本:
|
||||
|
||||
`code --list-extensions --show-versions`
|
||||
|
||||
- 以超级用户(root)身份启动编辑器,同时将用户数据存储在指定目录中:
|
||||
- 以超级用户(root)身份启动编辑器,同时将用户数据存储在特定目录中:
|
||||
|
||||
`sudo code --user-data-dir {{路径/到/目录}}`
|
||||
`sudo code --user-data-dir {{path/to/directory}}`
|
Reference in New Issue
Block a user