Skip to content

0.14.0

Compare
Choose a tag to compare
@bobbrow bobbrow released this 19 Oct 17:12

October 2017 Update

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.
    • (Note that the denominator currently shows the number of files discovered in all paths, but only the files in your workspace and any dependent headers will actually be parsed)

      new icon

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