ubuntu下安装VSCODE 无法联网下载几个插件 提示: This undefined version of the extension is incompatible with your OS

1.当在ubuntu下安装vscode时,安装好一些插件后无法联网更新几个包:

提示:This undefined version of the extension is incompatible with your OS. Please download and install the "cpptools-linux.vsix" version of the extension.

我这里是无法使用ctrl+shift+P弹出的C/C++:Edit Configuration(JSON)自动添加c_cpp_properties.json文件

 

a.在最后弹出的 Please download and install the "cpptools-linux.vsix" version of the extension.提示框中下载cpptools-linux.vsix文件;

b.会进入网页:https://github.com/microsoft/vscode-cpptools/releases

ubuntu下安装VSCODE 无法联网下载几个插件 提示: This undefined version of the extension is incompatible with your OS

c.选择适合的版本如上图的0.30.0-insiders3单击进入下载界面:下载上面给你提示×××.vsix文件,环境不同可能版本不同,笔者的

环境为ubuntu,所以为cpptools-linux.vsix。

ubuntu下安装VSCODE 无法联网下载几个插件 提示: This undefined version of the extension is incompatible with your OS

d.下载到指定位置后,在左上角的第四栏有个extensions选中,单击上方省略号“。。。”

单击install from VSIX出现如下的弹框找到刚刚下载的路径安装即可。

见谅:ubuntu下的没有自带涂鸦功能的软件。

 

ubuntu下安装VSCODE 无法联网下载几个插件 提示: This undefined version of the extension is incompatible with your OS