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
1 task done
wapjoe opened this issue Mar 22, 2019 · 2 comments
Closed
1 task done
Labels
Milestone

Comments

@wapjoe
Copy link

wapjoe 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 this to the 3.6.6 milestone Mar 22, 2019
ivankravets added a commit that referenced this issue Mar 22, 2019
@ivankravets
Copy link
Member

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

@wapjoe
Copy link
Author

wapjoe commented Mar 22, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants