Open Symbitic opened 6 months ago
If the user does not have cpptools installed and is only using clangd. Does it work? https://xmake.io/#/plugin/more_plugins?id=clangd
可以参考下cmake插件的实现vscode-cmake-tools/src/cpptools.ts
使用ConfigurationProvider
可以无需编辑配置文件,自动让Cpptools使用xmake生成的配置
I'm not sure if this is a feature or a bug fix, but this removes the need for setting the path to the compile commands file in
.vscode/c_cpp_properties.json
by settingC_Cpp.default.compileCommands
.With this, IntelliSense should work as soon as XMake is run for the first time.