简体   繁体   中英

Where does Atom store its recently opened files list?

I'm using Atom 1.0.15. On startup, Atom tries to open a file on a MTP device every time, which is very annoying. Even after closing the tab referring to the file on the MTP device, Atom will try to reopen it on next startup.

A fix would probably be to clear the recently opened files list, but I can't find it. Where is it located?

A quick and inelegant way is to just clean your ~/.atom/storage directory ( %HOMEPATH%\\.atom\\storage ).

This should 'reset' Atom to a project-less state.

According to this site: 1 , it saved it in indexedDB. So if you want to clear it:

  1. Press ctrl-shift-i
  2. Find the Application tab where you may see the IndexedDB databases.
  3. You may delete the Atom* ones.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM