Skip to content

"Force Include" config UI should not report validation errors. Whether a forced include can be resolved is unknown until compiler is queried. #7822

Description

Bug type: Language Service

Describe the bug

  • OS and Version: Windows
  • C/C++ Extension Version: 1.5.1

Steps to reproduce

  1. Enter an invalid path in "Force include" property in IntelliSense config UI. There should be error saying cannot find path.
  2. Open the c_cpp_properties.json file
  3. Observe there is not error in json file for invalid path
    image

Expected behavior
UI and json file should show the same errors if the current selected active configuration is the one also show on config UI

Metadata

Metadata

Labels

Feature: ConfigurationAn issue related to configuring the extension or IntelliSenseLanguage ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.quick fix

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions