You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
When board type changed "defines" section in c_cpp_properties.json is not updated.
When compiling the code "-mmcu={board}" switch is passed as arg so that there is correct "#define" whilst compilation and there is no errors. But intellisense has no correct "#define" available until manually specified.
Actual result
Expected result
Intellisense highlight correct code block
The text was updated successfully, but these errors were encountered:
I have the same issues. The only proper way to do it is to parse the build output and auto fill the intellisense settings. But when looking at the push activity here I get the impression that this project is more or less dead.
I was so annoyed, that I began to work on an auto-configuration mechanism, which parses the build output from Arduino and creates a c_cpp_properties.json from it. The goal is that no one wants likely ever edit this file manually again - except for very weird setups for which I will add a configuration flag/option that will keep the extension from touching the file.
I coded some proof of concept already but I haven't committed anything yet. But I began documenting the project here.
Anyone who wants to keep me motivated can chip in some 🍺-money - the donation button can be found in the link above.
Other support is appreciated and comprises
people with Windows and OSX setups to test the cross platform compatibility
the original maintainers could help me with CI and how to build test-releases
The progress can be followed within the same file. The repo is set to this feature branch by default.
When board type changed "defines" section in c_cpp_properties.json is not updated.
When compiling the code "-mmcu={board}" switch is passed as arg so that there is correct "#define" whilst compilation and there is no errors. But intellisense has no correct "#define" available until manually specified.
Actual result
Expected result
Intellisense highlight correct code block
The text was updated successfully, but these errors were encountered: