Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear auto-discover cache #49

Closed
gnestor opened this issue May 27, 2016 · 7 comments
Closed

Clear auto-discover cache #49

gnestor opened this issue May 27, 2016 · 7 comments

Comments

@gnestor
Copy link

gnestor commented May 27, 2016

To reproduce: Rename or delete a project/git repo that is being auto-discovered by project-plus

Result: The deleted project still lingers in auto-discover list or the old name of the renamed project still lingers in the auto-discover list

@mehcode
Copy link
Owner

mehcode commented Jun 2, 2016

CTRL-ALT-P -> Project Plus: Remove -> Hit enter on the selection you want to remove.

@mehcode mehcode closed this as completed Jun 2, 2016
@gnestor
Copy link
Author

gnestor commented Jun 2, 2016

@mehcode I tried this and it doesn't remove the project... 🤔

@mehcode
Copy link
Owner

mehcode commented Jun 2, 2016

@gnestor I had the command sequence wrong: #50 (comment)

Does that still not fix it?

@gnestor
Copy link
Author

gnestor commented Jun 2, 2016

Ya I tried COMMAND PALLETTE > Project Plus: Remove > ENTER on project and it still show up in the projects list.

@mehcode
Copy link
Owner

mehcode commented Jun 2, 2016

Really odd. I can't reproduce this.

  • Try clearing atom storage (the old pre-1.7 one) rm -rf $HOME/.atom/storage ?
  • Try running Project Plus: Edit Projects and see if its sticking in there for some reason?
  • atom --clear-window-state will clear atom's session cache (which should wipe out project-plus cache as well)

@gnestor
Copy link
Author

gnestor commented Jun 2, 2016

atom --clear-window-state cleared all of my projects. Now I just see the 2 that I've been working in today. This resolves my issue but how do I re-populate my auto-discovered projects?

@mehcode
Copy link
Owner

mehcode commented Jun 20, 2016

[...] This resolves my issue but how do I re-populate my auto-discovered projects?

I apologize if I wasn't clear. That clear command wipes the state permanently. You'll need to rebuild it by manually re-opening your projects or putting them in the projects.cson.

@mehcode mehcode closed this as completed Jun 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants