如何在Visual Stuidio Code操作系统Linux Mint 18中使用Qt?
Marketplace不存在Qt扩展。也许有人知道更多!
UPD。我的意思是通过键入Qt AddIn
您应该为此扩展提供机会:https : //marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools
这样,您可以配置包含路径以获得更好的IntelliSense结果。
配置includePath
一种配置例如QtCore模块的方法。
C/Cpp: Edit Configurations
c_cpp_properties.json
configurations
数组中,您应该编辑Linux部分includePath
设置中添加路径,例如:/usr/include/x86_64-linux-gnu/qt5/QtCore
有关更多信息,请参见:https : //github.com/Microsoft/vscode-cpptools/blob/master/Documentation/Getting%20started.md
IntelliSense引擎
我们建议使用“默认”引擎以获得最佳的IntelliSense体验。但是,可以通过编辑用户或工作空间设置来明确选择IntelliSense引擎。您应该修改的设置是C_Cpp.intelliSenseEngine
Default
-Visual Studio的IntelliSense引擎,这是提供语义感知IntelliSense功能的默认引擎 Tag Parser
-如果默认引擎为“模糊” IntelliSense引擎,则提供快速但“模糊”结果,用于提供后备体验有关它的更多详细信息:https : //github.com/Microsoft/vscode-cpptools/blob/master/Documentation/LanguageServer/IntelliSense%20engine.md
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句