Linux知识点(1)_ubuntu下安装VScode

1.下载:wget https://az764295.vo.msecnd.net/stable/7ba55c5860b152d999dda59393ca3ebeb1b5c85f/code-stable-code_1.7.2-1479766213_amd64.tar.gz

2.解压: tar jxcv code-stable-code_1.7.2-1479766213_amd64.tar.gz

3.移动:mv VSCode-linux-x64 /usr/local/

4.给权限:chmod +x /usr/local/VSCode-linux-x64/code

5.复制图标:cp /usr/local/VSCode-linux-x64/resources/app/resources/linux/code.png      /usr/share/icons/

6.创建启动器:启动终端键入

sudo su

vim /usr/share/applications/VSCode.desktop

摁“i"后,输入以下内容:

[Desktop Entry]
Name=Visual Studio Code
Comment=Multi-platform code editor for Linux
Exec=/usr/local/VSCode-linux-x64/code
Icon=/usr/share/icons/code.png
Type=Application
StartupNotify=true
Categories=TextEditor;Development;Utility;
MimeType=text/plain;

摁”ESC“,再”:wq"。保存后退出。

7.将VSCode.desktop复制到桌面

8.打开VSCODE应用程序,再扩展栏加载插件“cpptools | vscode-icons“

完成。

由https://www.cnblogs.com/lzpong/p/6145511.html处转载。

 

 

你可能感兴趣的:(ROS知识点)