Skip to content

speeding up the IDE-start through limiting the entries in preferences recent.sketches= #10963

Open
@StefanL38

Description

@StefanL38

Today I looked up the preferences.txt-file to examine what additional switches are hidden in this file
Then I saw that the recent.sketches= -item had 70kB of entries!!

If I click on file - "open recent" the list shows ten files. Practical compromise between too much files and just three.

But why the heck does the IDE collect them all in the preference.txt-file?? Even if the 11 to 1000 entry are not accessible??
Can somebody give me a single reason why the Arduino-IDE can only work reliable with collecting all these entries?

That is what I call an old unvisible bug nobody wants to to clean up.
But this bug slows down the startup of the IDE. I guess if the line of code is found that causes this
adding the new file-entry and cut-away everything behind the tenth entry is done within 15 minutes or even less.

best regards Stefan

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions