We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b85be3 commit 3b0a946Copy full SHA for 3b0a946
assets/update_intellisense.lua
@@ -7,6 +7,8 @@ function main(compileCommandsDirectory)
7
8
-- generate compile_commands.json
9
-- @note we can only load configuration because we watched onFileChanged(xmake.conf)
10
+ os.setenv("XMAKE_IN_PROJECT_GENERATOR", "true")
11
config.load()
12
compile_commands.make(compileCommandsDirectory or ".vscode")
13
+ os.setenv("XMAKE_IN_PROJECT_GENERATOR", nil)
14
end
0 commit comments