我刚刚下载了适用于Linux ubuntu 14.04的Visual Studio代码。我创建了一个简单的test.cpp并用vscode编写了它,但是intellisense无法正常工作。
这是test.cpp中的代码:
struct test{
int a = 5;
}
int main(){
test t;
t.
}
当我写“ t”时,没有智能告诉我t的成员。并且应该有。
我在Linux终端中使用“ touch test.cpp”命令创建了test.cpp文件,然后使用Visual Studio代码打开了test.cpp并编写了代码。可以在此处查看屏幕截图:http : //i.stack.imgur.com/fLhSA.png
有人知道如何让intellisense在Linux中为vscode工作吗?
在撰写本文时,所支持的语言表示C ++没有IntelliSense。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句