We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
add_package添加的package能够在vscode中显示intellisense信息
add_package
目前似乎都是在编译或者手动require时才会编译package,这样的话感觉没法实现根据xmake.lua中的package信息来支持intellisense?
require
xmake.lua
The text was updated successfully, but these errors were encountered:
集成了package,编译的项目里面,不是package includedirs都带进去了么。。那么安装package之后,生成的 compile_commands.json 里面应该也是有 package includedirs的。。
比如我这:-I/Users/ruki/.xmake/packages/l/luaj it/2.1.0-beta3/d31cb26efe584bfab3db002ca62988af/include/luajit
-I/Users/ruki/.xmake/packages/l/luaj it/2.1.0-beta3/d31cb26efe584bfab3db002ca62988af/include/luajit
{ "directory": "/Users/ruki/share/testdll", "arguments": ["/usr/local/bin/ccache", "/usr/bin/xcrun", "-sdk", "macosx", "clang", "-c", "-f visibility=hidden", "-fvisibility-inlines-hidden", "-O3", "-I/Users/ruki/.xmake/packages/l/luaj it/2.1.0-beta3/d31cb26efe584bfab3db002ca62988af/include/luajit", "-Qunused-arguments", "-arch", "x86_64", "-mmacosx-version-min=10.14", "-isysroot", "/Applications/Xcode.app/Contents/Develop er/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk", "-o", "build/.objs/testdll/macosx /x86_64/release/src/main.cpp.o", "src/main.cpp"], "file": "src/main.cpp" },
这个插件已经对接了 intellisense / compile_commands(具体见 #40 ),怎么会不支持呢?
Sorry, something went wrong.
确实看见includedirs了,可能是我这插件配置有问题,我再看一下看
No branches or pull requests
你在什么场景下需要该功能?
add_package
添加的package能够在vscode中显示intellisense信息描述可能的解决方案
目前似乎都是在编译或者手动
require
时才会编译package,这样的话感觉没法实现根据xmake.lua
中的package信息来支持intellisense?The text was updated successfully, but these errors were encountered: