Skip to content

Warning "Property !!! WARNING !!! is not allowed" since update from Microsoft C/C++ IntelliSense #2243

@wapjoe

Description

@wapjoe

What kind of issue is this?

  • PlatformIO Core.
    If you’ve found a bug, please provide an information below.

Configuration

Operating system: Windows 10 Pro 64bit, Version: 1803 Build: 17134.648

PlatformIO Version (platformio --version): Core 3.6.5 @ VSC 1.32.3

Description of problem

Since the last update of C/C++ IntelliSense from Microsoft, to version 0.22.1, the code is checked in .vscode/c_cpp_properties.json. Since then, a warning for line 2 "Property !!! WARNING !!! is not allowed" and deleting the line only changes it temporarily. The next time VSC is started, the text in line 2 is ""!!!! WARNING !!!": "PLEASE DO NOT MODIFY THIS FILE! USE https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags"," is entered again and the warning occurs again. When creating a new Platformio project, the line will still be generated.

Is there a setting to prevent this behavior?

Steps to Reproduce

  1. Open a project
  2. Browse to .vscode/c_cpp_properties.json
  3. Open it and you getting the warning:
    Platformio

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions