IDE 1.8.0 Released -- update: 1.8.10

Thanks for the links and info. I'll test the newest build, and continue to report issues to what I think are the correct channels (even if I don't always get it right the first time). I enjoy bug hunting though I don't have the deepest of knowledge, and I'm always happy to help in the ways I can.

it took two days and a dozen tries to get it installed on Ubuntu. now that I have 1.8.5 installed, it fails to compile on the first line of every sketch. it invariably can not find the #include<whatever.h> files.

installed at:

path=/home/username/Arduino

sketchbook path=/home/username/Arduino

libraries at

home/username/Arduino/libraries

and

home/username/arduino/libraries

and

home/username/sketchbook/libraries

and it can't find the libraries in programs that work just fine in 1.05

// spoke too soon. you just put the libraries in

home/username/snap/arduino-mhall119/current/Arduino/libraries

how could I miss something so intuitive?

That's actually a very bad idea. The reason is that anything you put in the Arduino IDE installation folder (home/username/snap/arduino-mhall119/current/Arduino in this case) will be lost every time you update to a new version of the Arduino IDE. This is why you should always install libraries to the libraries subfolder of the sketchbook folder, which persists through updates.

More information:
https://www.arduino.cc/en/guide/libraries

For your information, the "mhall119" Snap package is an outdated and unofficial 3rd party project which may have been modified in unspecified ways. I recommend always getting the official Arduino IDE from:
http://www.arduino.cc/en/Main/Software

He instalado arduino 1.8 (exe) en Windows 7, pero no puedo acceder al submenú Puertos. Tengo un Arduino M0 Pro instalado y la conexión USB lo verifica (dice en el Administrador de dispositivos, Dispositivos USB: Arduino M0 Pro), pero no tiene un número COM. Por favor aviseme : smiley-triste:

Kshehab91:
I downloaded the new version but suddenly " while (Serial.available()==0){ } " stopped working so I uninstalled and kept working on the older version if someone can help it would be so thankful

I'm also having problems with serial communication between my Arduino code and a Processing app on my PC (Windows 10).

Code that was compiled with an earlier IDE (I think it was 1.6.5) works but now when I re-compile exactly the same source code with 1.8.7 I get random errors in the data sent from the PC to the Arduino.

How was the built-in Serial code changed for Version 1.8x, as I assume it must be behaving differently from how it did in the earlier IDE versions which produce 100% working code for my project.?

how do i upload a code to my arduino uno R3?
why cannot i do so in in the 1.8.0 version

A related question: is there a shortcut to fold or unfold all code at the same time?

Right click in the IDE editor and select Folding

aishanazer:
how do i upload a code to my arduino uno R3?
why cannot i do so in in the 1.8.0 version

Please do this:

  • File > Preferences > Show verbose output during: > compilation (uncheck) > upload (check) > OK
  • Sketch > Upload
  • After the upload fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
  • Paste the error messages in a reply here USING CODE TAGS (</> button on the forum toolbar).

currently I was using 1.8.5 (portable), now I want to upgrade to 1.8.8
I downloaded 1.8.8 zip (non-admin install)
after extracting, should I better
a) copy my old 1.8.5 portabe folder into the new 1.8.8 arduino folder, or
b) copy the new 1.8.8 arduino folder contents into the old 1.8.5 arduino folder
?
I definitely do not want to have to reinstall all my actual board cores from ESP and Adafruit boards anew...

dsyleixa:
currently I was using 1.8.5 (portable), now I want to upgrade to 1.8.8
I downloaded 1.8.8 zip (non-admin install)
after extracting, should I better
a) copy my old 1.8.5 portabe folder into the new 1.8.8 arduino folder, or
b) copy the new 1.8.8 arduino folder contents into the old 1.8.5 arduino folder
?
I definitely do not want to have to reinstall all my actual board cores from ESP and Adafruit boards anew...

It's easiest and safest to copy your old 1.8.5 portable folder into the new 1.8.8 arduino folder.

thank you!

extremely regrettable:
there is still no useable search function available yet for searching just whole words, or seperated functions for "find" (ctrl+F) and "search/replace" (ctrl+H).
tbh, that is embarrassing and devastating... :frowning:

dsyleixa:
extremely regrettable:
there is still no useable search function available yet for searching just whole words, or seperated functions for "find" (ctrl+F) and "search/replace" (ctrl+H).
tbh, that is embarrassing and devastating... :frowning:
IDE search tool whole words · Issue #7234 · arduino/Arduino · GitHub
Arduino Editor: Search and/or Replace · Issue #3727 · arduino/Arduino · GitHub

Devestating seems like a bit of an overstatement.

If it's that bad, you must have an idea about how to improve on what you have now.
So what stops you from picking this up and solve the problem for the entire community ?

To me, the present search function is sufficient.
But i'm not doing that much searching.
Perhaps if i'd have to use it to do my job, i might like it to be more advanced.

there is still no useable search function available yet for searching just whole words

Hardly the end of the World when a strategically placed space in the search term usually suffices

or seperated functions for "find" (ctrl+F) and "search/replace" (ctrl+H).

Whilst Ctrl+H would be nice as it is a standard, for find and replace I usually do double click to highlight the search text, Ctrl+F to open the find dialogue with the search term in place then tab to get to the replace field which I type in

Or as often the case, the seach and replace terms are very similar I double click to highlight the search text, Ctrl+F to open the find dialogue with the search term in place then Ctrl+C to copy the search term tab to get to the replace field, Ctrl+V to paste the search term into the replace field which I then edit

Ctrl+H would require no less clicks or keystrokes

UKHeliBob:
Hardly the end of the World when a strategically placed space in the search term usually suffices
Whilst Ctrl+H would be nice as it is a standard, for find and replace I usually do double click to highlight the search text, Ctrl+F to open the find dialogue with the search term in place then tab to get to the replace field which I type in

Or as often the case, the seach and replace terms are very similar I double click to highlight the search text, Ctrl+F to open the find dialogue with the search term in place then Ctrl+C to copy the search term tab to get to the replace field, Ctrl+V to paste the search term into the replace field which I then edit

Ctrl+H would require no less clicks or keystrokes

The unified dialog for both search and replace is completely confusing for follow-up searches, when there must not happen any a replace action coincidentally.
But above all that annoying issue is about the missing option "searching for whole words only", both for find and for replace.
As to "whole word" searches, spaces don't work compellingly, like e.g. replace: int by int16_t also in terms like (int) or , but not in Serial.print() or in int32_t (just 1 arbitrary example).

after having updated Arduino 1.8.5. to 1.8.8 on my PC, I now have to do that also on my Raspi.
In /home/pi/ can find a folder
arduino-1.8.5
feat also a subfolder "portable",
but IIRC there are supposed to be 1 or 2 to additional Arduino program folders (I read something about that in another topic), but I can't see them though (show hidden files is activated in the filemanager).

Which is the correct upgrade procedure to 1.8.8 on the Pi, not leaving any file orphans behind?

dsyleixa:
after having updated Arduino 1.8.5. to 1.8.8 on my PC, I now have to do that also on my Raspi.
In /home/pi/ can find a folder
arduino-1.8.5
feat also a subfolder "portable",
but IIRC there are supposed to be 1 or 2 to additional Arduino program folders (I read something about that in another topic), but I can't see them though (show hidden files is activated in the filemanager).

Which is the correct upgrade procedure to 1.8.8 on the Pi, not leaving any file orphans behind?

If you have never used the Arduino IDE without the "portable" subfolder present, then the only other folder used by the Arduino IDE is the sketchbook folder. You can find the location of that folder in the Arduino IDE at File > Preferences > Sketchbook location. If you have run the Arduino IDE without the "portable" folder, then there will also be a folder at /home/{username}/.arduino15. That is a hidden folder.

thank you, I can't remember how I once installed Arduino IDE on my Pi or if I altered a prior installation, I once followed some instructions I found in the web (which I do not remember exactly).

Anyway, there is no hidden folder visible.

Is there meanwhile a working apt-get install version?
or just these commands I found here in this forum?

wget http://downloads.arduino.cc/arduino-1.8.8-linuxarm.tar.xz
tar -x -f arduino-1.8.8-linuxarm.tar.xz

will that install automatically also the hidden folder?
if yes, can it be simply deleted, or do I have to change entries in preferences as well?

After that I assume that I'll just have to copy my old portable folde into the new 1.8.8 folder like for Windows, correct?

there is no hidden folder visible.

I have not been following this discussion but that made me giggle