[HN Gopher] The Arduino IDE 2.0 beta
___________________________________________________________________
The Arduino IDE 2.0 beta
Author : dgellow
Score : 83 points
Date : 2021-05-11 20:56 UTC (2 hours ago)
(HTM) web link (blog.arduino.cc)
(TXT) w3m dump (blog.arduino.cc)
| tkuraku wrote:
| Seems like a much better use of resources would to be just make a
| vscode extension.
| swiley wrote:
| Well they have the command line build tool. IMO: focusing on
| the CLI so people could integrate it better into more
| mature/complete environments would have been much better. The
| main reason people use the Arduino IDE is because it doesn't
| drag in the complexity of something like AVR studio (which
| interestingly enough _is_ just a visual studio extension IIRC.)
| bastardoperator wrote:
| Agreed, I would argue having a special editor one needs to use
| is a barrier to entry for beginners or even people like myself
| who don't want to switch over to a new editor.
| Melkman wrote:
| There's already PlatformIO for that. VSCode is not really open
| and has nasty tracking included. The source is available under
| MIT however if you strip the tracking out and build that code
| like VSCodium does you may no longer use the add-on
| repositories of VSCode and have to use open-vsx.org. And the
| standard extensions made by Microsoft like the C/C++ extension
| may not be published by open-vsx.org. Since PlatformIO
| integration with VSCode/VSCodium is dependent on this extension
| you can not run it without submitting to tracking. That sucks.
| See also https://github.com/microsoft/vscode-
| cpptools/issues/6518
| turbinerneiter wrote:
| PlatformIO is the way to go, VS Code plugin if you are so
| inclined, or just the CLI tools to use with whatever tools you
| like.
| krastanov wrote:
| I am using arduino to teach newbies no older than 16yo.
| PlatformIO/VSCode/CLI are a terrible idea in that case.
| craftinator wrote:
| Maybe, some kids like diving into the meat of things. Might
| be good to show them one way, but also let them know that the
| other exists. I've found PIO much easier to use after just a
| few days of playing with.
| krastanov wrote:
| Sure, that is easy to do after you have them hooked up. But
| dead-simple installation is the only thing I care about
| when each extra click turns off another 20% of the newbies
| (made-up percentage). Especially if you want to present it
| as "a tool that you can use improve your main
| hobbies/interests", as opposed to something they should
| master. Pushing even further on this, when I show a PhD
| bio-engineer how to use Arduino to automate their bio-
| reactor, I am certainly going to use the two-click-to-setup
| Arduino IDE, instead of PlatformIO. The extra features are
| detrimental when all you want is to show a tool exists and
| can make your life easier and more interesting with minimum
| extra effort.
| genericone wrote:
| Is this a good summary:
|
| PlatformIO for generation of value.
|
| ArduinoIDE for demonstration of value.
| zackees wrote:
| PlatformIO is super hard to install.
|
| I really don't get why developers spend so much time developing
| some really great piece of software and then just make the
| install a really horrible experience. The last mile of software
| development, the install processes, needs to be unremarkable
| and boring.
| pcdoodle wrote:
| PlatformIO is 3 feet from gold. I still use Arduino IDE, it's
| a few clicks to get up and running.
| goliatone wrote:
| I only used the VScode extension and is great. Except that it
| modifies the whole interface so I have two IDE instances one
| for with platformio and one without. It even encouraged me to
| write test for my arduino projects
| globular-toast wrote:
| Yep. When I got an Arduino I was a bit disheartened at first to
| find people only talking about the Arduino IDE for programming
| it. I found a few custom makefiles and was half way to
| installing my own avr toolchain when I found platformio. I
| don't find joy in manually installing toolchains any more so it
| was perfect. I was up and running in minutes.
|
| Although they don't mention it (maybe they should) I used pipx
| [0] to install platformio. It's the best way to install a
| Python app.
|
| [0] https://github.com/pipxproject/pipx
| suyash wrote:
| Arduino IDE used to be written in Java, hope that is still the
| case, it looks pretty good.
| ihuman wrote:
| The new version is an electron app. It's based on Eclipse
| Theia, which is based on VS Code.
| https://github.com/arduino/arduino-ide
| MattGaiser wrote:
| > In 2019, we announced the alpha release of a new IDE built on
| top of arduino-cli and based on a modern software stack (Theia
| and Electron)
|
| Not anymore.
| ketralnis wrote:
| > hope that is still the case
|
| I don't know why you'd care what it's written in, but for the
| reasons that I'd care (resource usage mostly) Java and
| Javascript are languages I'd hope it's _not_
| globular-toast wrote:
| Java and Javascript are in no way related. Compared to an
| Electron app something written in Java is likely to be fast
| and RAM efficient. Java might have been slow in the 90s, but
| the world caught up and overtook it years ago.
| qbasic_forever wrote:
| Read the article, it's in the first few paragraphs. Arduino
| switched its internals to use Go (with a new Arduino builder
| CLI tool) two years ago, then started building a new IDE
| experience with Theia and Electron (JS-based) last year.
| There's zero Java in the future of Arduino.
| spacechild1 wrote:
| This looks great! I've always hated the original Arduino IDE with
| a passion, but was too lazy to try something different...
| eggfriedrice wrote:
| Nice to see that it's not just another VS Code spin off. They
| seem to be finding a nice middle ground between the very basic
| Arduino 1 IDE, and an over-complicated all-in IDE.
|
| Plus, debugging, woo!
| easton wrote:
| What? That's exactly what this is. Theia is a fork of VSCode
| that Eclipse maintains (with a slightly differently structured
| backend, I think), and they've forked that and removed the bits
| you don't need for working with Arduino. You can see it in the
| screenshot, it looks like VSCode with less buttons.
| eggfriedrice wrote:
| I stand corrected!
| Bancakes wrote:
| VSCode already works better for me. Has all the intellisense
| and folder management I need. And has my favorite color schemes
| and git integration.
|
| I've ever only needed the clunky Arduino IDE to install
| libraries and board types.
| perone wrote:
| Actually it would be much better if they just invested in
| VSCode for that.
| monocasa wrote:
| It's based off of Theia, so isn't it another VSCode spin off?
| e12e wrote:
| Mirror/archive link:
| https://web.archive.org/web/20210511210021/https://blog.ardu...
| zackees wrote:
| As someone who has spent a lot of time programming Arduino I
| welcome this new IDE. IMO the thing that has always held back
| Arduino was the programming interface and the lack of tooling to
| write correct code. This is super important since this is
| targeted at students who will shoot themselves in the foot when
| they forget a letter in a function and they have to wade through
| gcc error codes.
|
| The arduino CLI is always very much welcome.
|
| It's sad that this is all coming out in 2021, rather than 2014
| when Arduino was on a fast adoption trajectory. I feel that the
| lack of good IDE/tooling really hurt the adoption rate.
___________________________________________________________________
(page generated 2021-05-11 23:00 UTC)