Hey guys, the Arduino IDE is simple and all, but it can be too simple. No autocomplete, no spell check on verribles, and most of all no error checking and debugging features.
TLDR I want something better.
I tried to setup Eclipse with THIS TUTORIAL but while I was able to include external libraries I was having issues trying to use internal libraries and couldn't really find where I would add the paths to the arduino folders.
Next I tried to use Visual Studio Code with THIS TUTORIAL and I was able to get most internal and external libraries working, but even after double checking the file path in the c_cpp_properties.json file it refuses to find the Arduino.h library (a rather important one. Actually it can open arduino.h just fine, but it "cannot open source file "pins_arduino.h" (dependency of "Arduino.h")"
I was able to get pins_arduino.h working just by downloading the pins_arduino.h from the github repo and adding it to the \Arduino\hardware\arduino\avr\cores\arduino, but now I am having a problem where "identifier "Serial" is undefined" Guess it's time to work that out.
If anybody could help me out with one of these, or if you could recommend another program that would be great.
I was more thinking about debugging in the code itself, have the code point out stuff like if(var1 = var2) and underline it. I get that all you can really do for real time debugging is add a ton of println statements until you find out what part of your code gives an unexpected response.
Justin_AB:
I was more thinking about debugging in the code itself, have the code point out stuff like if(var1 = var2) and underline it. I get that all you can really do for real time debugging is add a ton of println statements until you find out what part of your code gives an unexpected response.