# IDE 2.2.3 only opens last sketch

**URL:** <https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228>\
**Category:** IDE 2.x\
**Created:** [October 14, 2024, 5:00pm UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228 "2024-10-14T17:00:45Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![dougp](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/dougp/32/238908_2.png) [@dougp](https://forum.arduino.cc/u/dougp)\
**Post date:** [October 14, 2024, 5:00pm UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/1 "2024-10-14T17:00:45Z")

</div>

I had several sketches open and was editing one of them when the IDE stopped responding to a verify command. I also could not close this sketch. I found that some of the other sketches would shut down as expected but two would not. I resorted to the Windows task manager to stop the IDE.

Upon restarting the IDE it opens one of the sketches that was active before but only that one. No other sketches will open and the one that does won't even respond to a verify command. It reports this error:

![image](https://europe1.discourse-cdn.com/arduino/original/4X/1/a/5/1a5da72f033816276e7fbfec3853ff3f11e1aacd.png)

I can scroll the text up and down but that's the extent of control over the sketch. Nothing wiring-wise was disturbed, by me, between working and not working.

---

<div class="post-metadata">

**Author:** ![sonofcy](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sonofcy/32/1283617_2.png) [@sonofcy](https://forum.arduino.cc/u/sonofcy)\
**Post date:** [October 15, 2024, 1:43am UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/2 "2024-10-15T01:43:20Z")

</div>

The IDE opens the last saved sketch. The error isn't something I have seen before but my guess is the arduino isn't connected to a port. If it's windows then some sort of device manager error (it's why I left windows)

---

<div class="post-metadata">

**Author:** ![dougp](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/dougp/32/238908_2.png) [@dougp](https://forum.arduino.cc/u/dougp)\
**Post date:** [October 15, 2024, 3:19am UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/3 "2024-10-15T03:19:03Z")

</div>

> [@sonofcy](#):
>
> my guess is the arduino isn't connected to a port

It was working, then - not working. I reverted to 2.2.1 for the time being.

---

<div class="post-metadata">

**Author:** ![sonofcy](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sonofcy/32/1283617_2.png) [@sonofcy](https://forum.arduino.cc/u/sonofcy)\
**Post date:** [October 15, 2024, 3:40am UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/4 "2024-10-15T03:40:28Z")

</div>

Ok, I doubt it's related to version, these types of issues are usually solved by resetting things.

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [October 15, 2024, 4:54am UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/5 "2024-10-15T04:54:50Z")

</div>

> [@dougp](#):
>
> Nothing wiring-wise was disturbed, by me, between working and not working.

This does not help but I'm quite sure that the message is not related to a connection with your board; instead I think that it relates to the internal processes of the IDE.

> [@dougp](#):
>
> I reverted to 2.2.1 for the time being.

After that, did you try IDE 2.3.3 again? The use of 2.2.1 might have fixed a corruption somewhere.

If the IDE 2.x misbehaves again, I would delete the directory C:\Users\yourUsername\AppData\Roaming\arduino-ide. The directory and its contents will be recreated from scratch.

Other things that you can delete are the files (!) in C:\Users\yourUsername.arduinoIDE; not sure about the complete directory; make backups first if needed. I regularly delete e.g. the yaml file if I bugger something up.

---

<div class="post-metadata">

**Author:** ![dougp](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/dougp/32/238908_2.png) [@dougp](https://forum.arduino.cc/u/dougp)\
**Post date:** [October 15, 2024, 12:51pm UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/7 "2024-10-15T12:51:54Z")

</div>

> [@sterretje](#):
>
> After that, did you try IDE 2.3.3 again? The use of 2.2.1 might have fixed a corruption somewhere.

Reinstalled 2.3.3 and it's working now. Still, an indication of some sort of problem.

---

<div class="post-metadata">

**Author:** ![dougp](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/dougp/32/238908_2.png) [@dougp](https://forum.arduino.cc/u/dougp)\
**Post date:** [October 16, 2024, 11:39pm UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/8 "2024-10-16T23:39:22Z")

</div>

I'm still having a small issue here.&nbsp; The left snip is from a program I'm editing and the library manager search window shows a partial search term.&nbsp; This instance of the library manager works, that is changing the search term alters the results shown.

The snip on the right is from a sketch which is also capable of being edited.&nbsp; In fact, it's one mentioned above that I couldn't close during the IDE glitch mode. &nbsp; As can be seen the library search function for this sketch does not respond to the search term. I can scroll the results window up and down as per normal.&nbsp; For giggles I opened a third sketch and it behaves like the right snip.

I've closed and reopened this sketch a couple of times with no change.

Is the library manager capable of responding to only one sketch at a time?

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/e/4/8/e481ce47a1e9594d00a4470230fd79bbacc94ccb.png)

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [October 17, 2024, 5:07am UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/9 "2024-10-17T05:07:01Z")

</div>

I can not reproduce the library manager issue; but I did not have a crash like you had.

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/2/5/5/255700ddd652c109423493b05a1f412cb6238999.png)

Which operating system are you using? There are a number of directories/files that you can safely delete; one of them might hold something.

Is there anything in the IDE logs that might point to an issue?

---

<div class="post-metadata">

**Author:** ![dougp](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/dougp/32/238908_2.png) [@dougp](https://forum.arduino.cc/u/dougp)\
**Post date:** [October 17, 2024, 12:32pm UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/10 "2024-10-17T12:32:01Z")

</div>

> [@sterretje](#):
>
> Which operating system are you using?

Wn10

Where would IDE logs be found?

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [October 17, 2024, 12:47pm UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/11 "2024-10-17T12:47:21Z")

</div>

Logs:

```plaintext
C:\Users\yourUsername\AppData\Roaming\Arduino IDE.

```

Some other stuff (not sure what is exactly in there):

```plaintext
C:\Users\yourUsername\AppData\Roaming\arduino-ide.

```

You can safely delete this directory, it will be recreated.

Recent sketches, board package URLs and the likes. I think you can safely delete the contents, it will be recreated.

```arduino
C:\Users\yourUsername\.arduinoIDE

```

If in doubt, make a backup. I usually rename the directories from _xxx_ to _xxx.old_

---

<div class="post-metadata">

**Author:** ![dougp](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/dougp/32/238908_2.png) [@dougp](https://forum.arduino.cc/u/dougp)\
**Post date:** [October 17, 2024, 1:28pm UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/12 "2024-10-17T13:28:17Z")

</div>

More specifically my OS

![image](https://europe1.discourse-cdn.com/arduino/original/4X/2/d/7/2d75255c245f0ff79d01a3065b031aef49a30fc3.png)

My directories

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/c/0/6/c060d967446fd3507db058af0c6f1d2dad5d5ce8.png)

I cannot find \Appdata\Roaming\Arduino IDE.

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [October 17, 2024, 1:37pm UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/13 "2024-10-17T13:37:43Z")

</div>

AppData is a hidden directory. You can enable "Show hidden files, folders and drives" under the options in Windows explorer.

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/f/b/d/fbd4774e02bd11f357321b0e85cfd3dcf7e736ff.png)

---

<div class="post-metadata">

**Author:** ![dougp](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/dougp/32/238908_2.png) [@dougp](https://forum.arduino.cc/u/dougp)\
**Post date:** [October 17, 2024, 2:08pm UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/14 "2024-10-17T14:08:41Z")

</div>

> [@sterretje](#):
>
> You can enable "Show hidden files,

Got that done. 👍

Is this what I'm looking for?

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/1/1/d/11d2229e9f1cdf446a167414618a05aef8f05321.png)

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [October 17, 2024, 2:41pm UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/15 "2024-10-17T14:41:54Z")

</div>

Yes, the last one probably.

You can delete or rename the last one after closing the IDE(s). Next do whatever you were doing that causes the issue, close the IDEs and have a look at them.

---

<div class="post-metadata">

**Author:** ![dougp](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/dougp/32/238908_2.png) [@dougp](https://forum.arduino.cc/u/dougp)\
**Post date:** [November 17, 2024, 12:01am UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/16 "2024-11-17T00:01:02Z")

</div>

Additional info - snip from task manager. Hoping someone who knows what it means will find it useful:

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/b/9/7/b973bf3b486c81196f56cea90f20b04a7d2563d9.png)

Task manager shows four instances of IDE. In reality only three instances are running and I cannot close any of them using the windows close box. There were several other instances which I was able to close. Before closing the others down I went through and shut off the serial monitor wherever it was active. This had no effect on 'closeability'.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 16, 2025, 12:01am UTC](https://forum.arduino.cc/t/ide-2-2-3-only-opens-last-sketch/1311228/17 "2025-05-16T00:01:55Z")

</div>

Closed on May 16, 2025, 12:01am UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
