Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS code IntelliSense 问题 #18

Closed
316064780 opened this issue Nov 22, 2019 · 4 comments
Closed

VS code IntelliSense 问题 #18

316064780 opened this issue Nov 22, 2019 · 4 comments

Comments

@316064780
Copy link

Note: If it is a 'bug report' or 'feature request', please select the corresponding issue template, otherwise this issue will be not replied.

Describe the problem details

Please describe your problem details here.

在VS code 中 C++ 源文件 如下
bool cPlcManager::ReadMtrCtrl( 中的 :: 会被标记为 红色波浪线

请问在 c_cpp_properties.json 文件中应该怎么配置,貌似 IntelliSense 的分析识别并不是很有效果

@waruqi
Copy link
Member

waruqi commented Nov 22, 2019

这。。这个似乎跟xmake没啥关系吧,c_cpp_properties.json 的配置问题,你应该找找c++那个插件的IntelliSense配置使用。

目前xmake.lua里面add_includedirs的设置还不支持跟 IntelliSense 做自动匹配。如果是这块的问题,后续如果有时间 我会考虑加上支持。。

@316064780
Copy link
Author

是没有关系,这不没有其他的渠道可以询问的,只能这里求助了

@waruqi
Copy link
Member

waruqi commented Nov 22, 2019

这块我也不是很清楚哦,之前也没研究过 vscode/IntelliSense

@waruqi
Copy link
Member

waruqi commented Jul 12, 2020

现在支持了,可以参考这个说明配置启用下,#40 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants