简体   繁体   English

Atom 将其最近打开的文件列表存储在哪里?

[英]Where does Atom store its recently opened files list?

I'm using Atom 1.0.15.我正在使用 Atom 1.0.15。 On startup, Atom tries to open a file on a MTP device every time, which is very annoying.在启动时,Atom 每次都尝试在 MTP 设备上打开文件,这很烦人。 Even after closing the tab referring to the file on the MTP device, Atom will try to reopen it on next startup.即使在关闭引用 MTP 设备上的文件的选项卡后,Atom 仍会尝试在下次启动时重新打开它。

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 ).一种快速~/.atom/storage优雅的方法是清理你的~/.atom/storage目录( %HOMEPATH%\\.atom\\storage )。

This should 'reset' Atom to a project-less state.这应该将 Atom“重置”到无项目状态。

According to this site: 1 , it saved it in indexedDB.根据此站点: 1 ,它将其保存在 indexedDB 中。 So if you want to clear it:所以如果你想清除它:

  1. Press ctrl-shift-i按 ctrl-shift-i
  2. Find the Application tab where you may see the IndexedDB databases.找到您可能会看到 IndexedDB 数据库的应用程序选项卡。
  3. You may delete the Atom* ones.您可以删除 Atom* 的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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