Now that I’ve had a chance to play with it for a bit, I really like VSCode a lot.
Here is my current setup for Arduino editing:
- Added arduino-snippets plugin (autocompletes arduino code such as “millis()” or “loop()”
- in c++ highlighting plugin (installed by default), disabled error squiggles
- right click and open folder (the one with the .ino files in)
- terminal (within VSCode)
- arduino –upload main.ino
The above setup does require Arduino to be installed and set up separately. The upload command for example is part of arduino install and uses the last settings (board and com port for example) that you set inside Arduino IDE.
I still think I might move over to Platform.io eventually, but at least with this setup I don’t have to re-do all of my code.