Open raffaeler opened 10 months ago
BTW, is there any way to disable the squiggles only for specific lines (maybe with some preprocessor command)? Alternatively, providing a list of types/words not to be checked/squiggled. TIA
One more info.
I go to the definition of #include <ArduinoJson.h>
. I can also navigate to the inner includes.
But when I reach the JsonSerializer.cpp
I see this:
JsonSerializer
is NOT squiggled and can be navigated to its definitionJsonSerializer
is squiggled and unavailable.
It doesn't make sense to me.Ironically, I moved my dev installation and projects on Ubuntu and it all works like a charm. I hope this helps in the issue identification.
The ArduinoJson library is extremely popular, therefore I believe it is important to validate it is correctly managed by the Intellisense. A sample snippet:
The![image](https://github.com/microsoft/vscode-arduino/assets/5183152/0f393bd2-22c3-4e16-9c30-88fa9be64248)
DynamicJsonDocument
is squiggled as unrecognized:The relevant lines in the
includePath
section ofc_cpp_properties.json
file are:A possible reason is that the files in the ArduinoJson library have the
.hpp
extension.