I gave a new try on the IDE 2.0 (RC8) and still get some "features" which are a problem for me. I'm using a laptop with i5-8265U & NVIDIA GeForce MX250 :
When i change a line, add some line, i have an automatic "building sketch". It's really anoying, because taking CPU usage and don't make sense for me. I understand it can speed up the process (or need for autocompletion), but in my case, it's more friendly to have an option to have build only manualy.
The serial screen is only on bottom (or i dont find the option), is it possible to put it on external windows ? With small screen (14"), it is impossible to use serial debugging and reading the code at the same time. With 1.8, i use tab for fast switching, with 2.0, i need to choose.
Another ask, is to know which library have an update or not. I don't find any option about that.
You can disable "Editor Quick Suggestions" in Preferences.
There are numerous forum threads about disabling indexing.
For the record, I have NOT had any issues on my rather old (off lease) Dell 5510.
Soapbox:
I read a lot of threads similar to this one complaining about performance. The IDE 2.x is a big beast, and my testing has shown continued improvement, in being a 'good' application and in being usable across multiple hardware and software architectures.
As it is with any shop tool, you must have good foundation for the tool to function and give good results...
You would not mount a 3 HP drill press on the kitchen table would you? Or, put that 60W CO2 laser engraver in the baby nursery?
The ArduinoIDE 2.x needs an adequate PC (foundation) to run the software properly and give a good user experience.
For some users, that may prompt the acquisition of a better PC platform. There are numerous sources (resellers, charities, etc.) where an Arduino user can pick-up adequate hardware at significant off-retail pricing. I have not purchased "new" in 15 years.
I will refrain from making a statement on the 'proper' platform as that is something Arduino developers should do if it is done at all, but I am running on a $325 Dell i7 with 8G or RAM and a 512G SSD. My 2.xrc is running smoothly. Sometimes, the cpu will hit near 100% but that is an aggregate figure, I do not believe in monitoring each of the 8 graphs as it is non-sensical.
Having once managed a group of 10 JAVA programmers, I can attest to how difficult it is to keep everyone focused on unit testing of the code and moving into system-testing ASAP. In a big project, stuff that was originally thought to be independent is often found to have adverse interactions! As someone once said, "... it is why we test."
The developers have been working on reducing the amount of resource usage of this system. That work was done after the time of the 2.0.0-rc8 release you are using. If you would like to give it a try, you can use the nightly build. The download links for the nightly build are listed here:
The Arduino IDE developers are tracking this request here:
If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.
There is already a command you can use to disable it, but it only disables it for the current session, not permanently. I'll provide instructions for that in case it will be of use:
Open the "Command Palette" by pressing Ctrl+Shift+P (Command+Shift+P for macOS users).
Select the "Arduino: Stop Language Server" command from the "Command Palette" menu.
Not at this time. The Arduino IDE developers are tracking this request here:
it's definitely in our roadmap and at the top of the list
[...]
We already designed the new one that is gonna be a separate window like the serial plotter.
This feature has not yet been implemented. The developers are tracking that here:
I don't think this option will have a very significant impact on resource usage. My understanding is that the bulk of the overhead is from the processing of the sketch code by the Arduino Language Server, which must be repeated as you change the sketch code in order for the language server to have an understanding of the program.
That processing is still done regardless of whether you have "Editor Quick Suggestions" enabled. This preference only controls whether or not the "Suggest" (AKA "auto-complete" or "intellisense") menu opens automatically while you are typing. Even with the feature turned off, you can still trigger the "Suggest" by pressing Ctrl+Space, so the language server must do the processing needed to provide the capability either way.
In this specific case, the impact of the change was known and discussed in advance. However, you are spot on in general because there have been many other cases where a change had an unexpected side effect on some unrelated component.
So everything is undercontrol I tried to find answer before posting, but it seems my google requests were not good.
Thanks for your answer and the time you spent for it,
It's a shame for me, because i'm a little bit bored of the 1.8 interface and the 2.0 is really great. I gave a try to VSC or platformIO but they are "too complex" for me. It's why i like the simplicity of arduino IDE, but i will wait for it.
I will give a try on your recommendation (nightly build) and see if it's better in my usage. The CPU usage is for me the more borring stuff actually.
Regards,
@mrburnette
My asking is not about to know if my computer is enough powerfull or not for the 2.0 IDE but about some features which "downgrade my experience". Without the "auto building", everything is good, its my asking but the problem is know by the dev team and some solution will be made. So everything is good, not for now but in the future
It is often difficult to find this information. Since I work with it constantly I at least have records of its existence and general location in my mental database, but even then I often miss the right keywords to find the actual item.
OK, please let us know what the results are.
You might also try the instructions I provided for temporarily disabling the language server. Even if that is too inconvenient to serve as a complete solution, it would at least give some idea of how much of the CPU usage really is coming from that feature.
The forum is the appropriate place for discussion, support requests, or unstructured feedback.
GitHub is the best place to submit formal bug reports and feature requests.
You are always welcome to post about something first here on the forum before submitting an issue on GitHub. I see that the discussion here on the forum often results in refinements to the final report or proposal submitted to the developers.
Before submitting issues on GitHub, please take a little time to search for existing ones in the tracker to avoid duplicates:
The Arduino IDE developers don't have the time to monitor all the conversations here on the forum, so submitting formal issues on GitHub is the way to provide them with direct feedback. However, I do try to act as a "bridge" between the forum and GitHub, so I will submit issues on the behalf of forum users when possible. There are limitations to my ability to do so in that I am taking responsibility for the issue, meaning I must be able to personally reproduce a reported bug or defend the need for a requested feature.