forced include not parsed from compile_commands.json #5738
Labels
bug
Feature: Configuration
An issue related to configuring the extension or IntelliSense
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
Milestone
Type: LanguageService
Describe the bug
I opened a single folder. I configured to use a compile_commnads.json file. One of the parameters in the command in that file is "-include", which is a forced-include, as well as some of "-I" and "-D" parameters. It seems like this extension fills in the Defines and Includes from the parsed command line, but not the forced-include. I tried to add the include to the forcedInclude setting, but when using a compile_commands.json, the other settings get ignored
Steps to reproduce
This is my compile_commands.json:
Logs
As you can see, in the first log I am using the
compile_commands.json
and I get the defines and include paths only from there (not from the configuration file), but I get neither forced include.In the second log I am not using the compile_commands.json, and then I get the defines, include paths and forced includes from the configuration.
The text was updated successfully, but these errors were encountered: