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

inellisense for tasmota #378

Closed
schroeca opened this issue Oct 23, 2018 · 2 comments
Closed

inellisense for tasmota #378

schroeca opened this issue Oct 23, 2018 · 2 comments

Comments

@schroeca
Copy link

Intellisense does not work with Tasmota SonOff firmware.
I get over 160 errors in which vscode complains about functions which can not be found.

Compiling and uploading works well.

First error appears in sonoff.ino
image

The function itself is defined in sonoff_support.ino

Setup:
tasmota release 6.2
vscode 1.28.2
platformio: Home 1.0.2·Core 3.6.1rc5

I'm pretty new to all this stuff, could you please give me an advice on how to fix this?

@ivankravets
Copy link
Member

INO is not C/C++ format. This is a "crutch" by Arduino IDE. We recommend converting your INO to CPP. See http://docs.platformio.org/en/latest/faq.html#convert-arduino-file-to-c-manually

@schroeca
Copy link
Author

thx for the clarification.

Changing the intellisense mode to "tag parser" will also remove the errors.
This is no "real" solution but it helps to find real errors.

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

No branches or pull requests

2 participants