0.14.0
Support for compile_commands.json (#156)
In this release we added support for specifying includes and defines via compile_commands.json
. In your c_cpp_properties.json file, add "compileCommands": "/path/to/compile_commands.json"
to your configuration and the extension will use the include paths and defines listed in the compile commands database rather than the "includePath"
and "defines"
in c_cpp_properties.json
If you open a file in your workspace that does not have an entry in the compile commands database, the extension will notify you and use the "includePath"
and "defines"
in your c_cpp_properties.json instead.
Indexing improvements (#1106)
- The extension now only scans directories once even if duplicate or overlapping paths are specified in the
"browse.path"
setting. - A new icon for indexing has been created that will show the current status of indexing when the mouse cursor hovers over it. The flame icon is now only used when the "Default" IntelliSense engine is doing an expensive operation.
Logging to the Output window
We added logging to the Output window. This replaces the need to set environment variables and log to a file as documented here. To change the verbosity, edit the "C_Cpp.loggingLevel"
setting. The default behavior is to only display errors encountered by the extension.
Other notable additions/fixes
We fixed the highest hitting crashes in the extension that caused IntelliSense features to appear to be hung. #1076
We fixed an issue where the indexer was parsing all header files discovered on the system (heavy CPU usage)when a workspace folder was not open. #1109