Ubuntu16.04安装VS Code中文化及创建快捷方式

阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6

1、安装方式参考

Ubuntu16.04安装vscode并修改为简体中文版设置显示空格和tab汉字或者汉字的标点带黄色框

2、修改为中文的方式还可以参考如下

I apologize for the confusion. The command "ext" I mentioned earlier is not a valid command in the terminal. To install extensions in Visual Studio Code, you need to follow these steps within the editor:

1. Open Visual Studio Code.

2. Click on the Extensions icon on the left sidebar or press `Ctrl + Shift + X`.

3. In the Extensions pane, search for "Chinese (Simplified) Language Pack" in the search bar.

4. Find the "Chinese (Simplified) Language Pack for Visual Studio Code" extension in the search results and click on the "Install" button.

5. Once the installation is complete, you may be prompted to restart Visual Studio Code. If not, you can manually restart the editor.

After restarting, Visual Studio Code's user interface will be switched to the Chinese (Simplified) language, providing a localized experience.

3、Ubuntu16.04 将vscode快捷方式放到桌面按照以下步骤进行操作

1. 打开终端通过按下 `Ctrl + Alt + T` 键盘快捷键或者在左上角的应用程序菜单中搜索 "Terminal"打开终端。

2. 进入桌面目录在终端中运行以下命令进入到桌面目录。

cd ~/Desktop

3. 创建快捷方式在终端中运行以下命令创建 Visual Studio Code 的快捷方式。

touch vscode.desktop

4. 编辑快捷方式文件运行以下命令使用文本编辑器打开快捷方式文件。

gedit vscode.desktop

   这将使用 gedit 文本编辑器打开 `vscode.desktop` 文件。

5. 在文本编辑器中输入以下内容并保存文件

[Desktop Entry]
Name=Visual Studio Code
Comment=Code Editing. Redefined.
Exec=/usr/share/code/code --unity-launch %F
Icon=/usr/share/pixmaps/code.png
Type=Application
StartupNotify=false
StartupWMClass=Code
Categories=Utility;TextEditor;Development;IDE;

   这些配置将创建一个名为 "Visual Studio Code" 的桌面快捷方式并指定了它的执行命令、图标和其他属性。

6. 授予执行权限运行以下命令给快捷方式文件授予执行权限。

chmod +x vscode.desktop

7. 关闭文本编辑器。

现在你应该在桌面上看到一个名为 "Visual Studio Code" 的快捷方式图标。你可以双击该图标来启动 Visual Studio Code 编辑器。

希望这能帮助你在 Ubuntu 16.04 上将 Visual Studio Code 的快捷方式放到桌面。

阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6
标签: Ubuntu

“Ubuntu16.04安装VS Code中文化及创建快捷方式” 的相关文章