Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add projectile-invalidate-all-caches command#1979

Open
bbatsov wants to merge 1 commit intomaster from
feature/1694-invalidate-all-caches
Open

Add projectile-invalidate-all-caches command #1979
bbatsov wants to merge 1 commit intomaster from
feature/1694-invalidate-all-caches

Conversation

@bbatsov
Copy link
Owner

@bbatsov bbatsov commented Feb 15, 2026

Summary

  • Adds projectile-invalidate-all-caches command that clears file caches for all known projects at once
  • Clears in-memory caches (projectile-projects-cache, projectile-projects-cache-time, projectile-project-type-cache, projectile-project-root-cache) and persistent cache files
  • Useful when using projectile-find-file-in-known-projects, where projectile-invalidate-cache only clears the current project

Closes #1694

Test plan

  • Add files to several projects, verify they appear in projectile-find-file-in-known-projects
  • Delete some files, note they still appear (stale cache)
  • Run M-x projectile-invalidate-all-caches
  • Verify deleted files no longer appear in projectile-find-file-in-known-projects

Closes #1694
Add a command that clears the file cache for all known projects at once.
This is useful when using projectile-find-file-in-known-projects, where
stale files from other projects could appear since
projectile-invalidate-cache only clears the current project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

projectile-find-file-in-known-projects cache can not clear

1 participant

Comments

AltStyle によって変換されたページ (->オリジナル) /