compile_commands.json is only updated on reload #5687
Labels
bug
Feature: Compile Commands
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
quick fix
Milestone
Type: LanguageService
Describe the bug
C/C++ Advanced Lint
CMake
CMake Tools
CMake Integration
cmake-format
DeviceTree
Doxygen Documentation Generator
Markdown PDF
markdownlint
Python
Remote - WSL
reStructredText
I have disabled all of these and the problem persists.
Fairly large project with a number of external dependencies. Numerous cmake projects are added with add_subdirectory, and compile_commands.json is generated specifically for the intellisense.
Steps to reproduce
Expected behavior
The intellisense should be updated automatically, either periodically or when a file is opened/changed.
Logs
-------- Diagnostics - 6/24/2020, 10:27:20 AM
Version: 0.28.3
Current Configuration:
{
"name": "removed",
"compileCommands": "${workspaceFolder}/build/compile_commands.json",
"compilerArgs": [],
"configurationProvider": "go2sh.cmake-integration",
"browse": {
"limitSymbolsToIncludedHeaders": true
}
}
Translation Unit Mappings:
<removed/path>
Translation Unit Configurations:
[ <removed/path> ]:
Process ID: 2856
Memory Usage: 11 MB
Compiler Path: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe
Includes:
<removed/paths>
Standard Version: c11
IntelliSense Mode: msvc-x64
Total Memory Usage: 44 MB
Screenshots
Additional context
This was originally raised in #2306 and #3864. It was supposedly fixed with PR #3938 and build 0.25.0 but I am still experiencing the issue.
The text was updated successfully, but these errors were encountered: