add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -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}}`