I’m sorry, I have no solutions for you, only my perspective that IDE 2.0 has sucked since it was introduced, and has not gotten better. The slowest app on my PC, slower than Fusion 360 to launch. I avoid it like the plague for VSCode + PlatformIO
Arduino v2 is a pile of slow-moving excrement. You may wish to use VS Code with either the Arduino plugin, or the PlatformIO plugin. PlatformIO is excellent, especially for ESP32 projects, where the Arduino build takes minutes and PIO takes <30 seconds.
I tried so hard to make VSCode and Arduino or PlatformIO work nicely but it was always more frustration and headache than it was worth to me. Sounds silly but I just write in VSCode with basic features (glorified text editor) then copy/paste to Arduino 1.8 to compile and upload.
It's been a while since I tried it. I recall that at best it was sorta working except it was never finding the correct library paths. I remember playing around with some settings about recursive searching through the paths but it never worked quite right. So compiling and intellisense was problematic.
IIRC it always felt like a bunch of work to setup a project too. Sometimes I have a big project with tons a files and stuff but sometimes I just need to crank out a quick one-pager and get it done.
I should maybe get Arduino CLI a go but it seems like it's unlikely to be simpler and easier than using the IDE GUI to select board/core config and correct typos/errors in the code.
I found the opposite. PlatformIO is excellent.
The only issue I have had is with different libraries in different people's RP2040 git repos for the performant SD card SDIO interface. Everything else has basically just worked.
Do you mean instructions/tutorial? I can't remember. Basically I just had to install the platformIO plugin in VS Code, and the first project I just imported an existing ESP32 arduino sketch through the plugin. I then had to find and add the relevant libraries. I think it just worked after that.
The ant head icon on the left of vscode brings up your platformio menus, from which you can access all the UIs for creating, importing projects, adding libraries, etc.
You can either install them fresh via the platformIO interface. Alternately you could copy the library folders from wherever Arduino has stored them. You can put them in your project's lib folder (platformIO makes this folder for you), which means you can edit them.
I’m sorry, I have no solutions for you, only my perspective that IDE 2.0 has sucked since it was introduced, and has not gotten better. The slowest app on my PC, slower than Fusion 360 to launch. I avoid it like the plague for VSCode + PlatformIO
Thanks, ya I noticed that too. Despite having pretty decent hardware it is still extremely slow and buggy. I'll give VS code a shot.
Arduino v2 is a pile of slow-moving excrement. You may wish to use VS Code with either the Arduino plugin, or the PlatformIO plugin. PlatformIO is excellent, especially for ESP32 projects, where the Arduino build takes minutes and PIO takes <30 seconds.
For me VSCode was a dealbreaker that I had to include that config file into every new sketch I make, is there a way to make that automatic?
I tried so hard to make VSCode and Arduino or PlatformIO work nicely but it was always more frustration and headache than it was worth to me. Sounds silly but I just write in VSCode with basic features (glorified text editor) then copy/paste to Arduino 1.8 to compile and upload.
What were the problems you had?
It's been a while since I tried it. I recall that at best it was sorta working except it was never finding the correct library paths. I remember playing around with some settings about recursive searching through the paths but it never worked quite right. So compiling and intellisense was problematic. IIRC it always felt like a bunch of work to setup a project too. Sometimes I have a big project with tons a files and stuff but sometimes I just need to crank out a quick one-pager and get it done. I should maybe get Arduino CLI a go but it seems like it's unlikely to be simpler and easier than using the IDE GUI to select board/core config and correct typos/errors in the code.
I found the opposite. PlatformIO is excellent. The only issue I have had is with different libraries in different people's RP2040 git repos for the performant SD card SDIO interface. Everything else has basically just worked.
What did you follow for setup? I might give it another shot.
Do you mean instructions/tutorial? I can't remember. Basically I just had to install the platformIO plugin in VS Code, and the first project I just imported an existing ESP32 arduino sketch through the plugin. I then had to find and add the relevant libraries. I think it just worked after that. The ant head icon on the left of vscode brings up your platformio menus, from which you can access all the UIs for creating, importing projects, adding libraries, etc.
Thanks I'll try it. Is there an easy way to transfer libraries over?
You can either install them fresh via the platformIO interface. Alternately you could copy the library folders from wherever Arduino has stored them. You can put them in your project's lib folder (platformIO makes this folder for you), which means you can edit them.
try [duino.app](http://duino.app)