How can one close a tab in the Arduino IDE? There is a Tab button (little triangle) with the Option "Delete"(kind of misleading term). There is no "Close" option. And the "Delete" option doesnt do the job for me either, because the tabs are write-protected, and I just get a prompt.

  • 1
    I don't think you can. The IDE just opens all c/cpp/ino files inside the sketch's folder.
    – Gerben
    Jun 27, 2016 at 13:46

1 Answer 1


You cannot close a tab in the Arduino IDE. If a file exists in the sketch then it is there with a tab. Deleting a tab deletes the file.

In the Arduino IDE a tab is a file and a file is a tab. You can't remove one without removing the other.

You might like to check out my IDE, UECIDE, which deals with tabs in a more traditional manner.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.