Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wapjoe opened this issue Mar 22, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@wapjoe
Copy link

commented Mar 22, 2019

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

@ivankravets ivankravets added the bug label Mar 22, 2019

@ivankravets ivankravets added this to the 3.6.6 milestone Mar 22, 2019

ivankravets added a commit that referenced this issue Mar 22, 2019

@ivankravets

This comment has been minimized.

Copy link
Member

commented Mar 22, 2019

Thanks! Please re-test with the development version of PlatformIO Core => http://docs.platformio.org/en/latest/ide/vscode.html#platformio-ide-usedevelopmentpiocore

@wapjoe

This comment has been minimized.

Copy link
Author

commented Mar 22, 2019

@ivankravets Thank you very much for your quick help, the solution works very well. 👍

@ivankravets ivankravets referenced this issue Mar 29, 2019

Closed

platformio 3.6.6 #38486

5 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.