You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Realize my current directory is not marked as a project
Create .projectile file
Attempt to projectile-find-file again
To my surprise, Projectile still thinks the directory is not marked as a project, even though it is
Attempt to use projectile-invalidate-cache
To my further surprise, Projectile forces me to select a project to clear the cache for, even though what I need is just to clear projectile-project-root-cache, which is not associated with any project
Select an unrelated project to clear the cache for, which clears projectile-project-root-cache as a side effect
Now projectile-find-file works
Suggestions for improvement:
Detect cases where projectile-project-root-cache should be cleared automatically to avoid user confusion
Add a user command for clearing projectile-project-root-cache without needing to select a project
Document the fact that this cache exists (since it affects user-visible behavior)
I could help out with this, but creating an issue first for discussion.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I find that a frequent operation is:
projectile-find-file
.projectile
fileprojectile-find-file
againprojectile-invalidate-cache
projectile-project-root-cache
, which is not associated with any projectprojectile-project-root-cache
as a side effectprojectile-find-file
worksSuggestions for improvement:
projectile-project-root-cache
should be cleared automatically to avoid user confusionprojectile-project-root-cache
without needing to select a projectI could help out with this, but creating an issue first for discussion.
The text was updated successfully, but these errors were encountered: