helm & projectile: how to remove a project from projectile
Asked Answered
G

1

28

I have several projects defined, and when I run C-c p p, it will list all of the projects. Now I don't want a project and I have deleted the .projectile file under that project, but it still shows up. How do I delete it?

Gypsy answered 25/12, 2014 at 3:9 Comment(0)
N
48

The function projectile-remove-known-project prompts for a project to forget about. projectile-remove-current-project-from-known-projects removes the active project.

Known projects are stored in the file ~/.emacs.d/projectile-bookmarks.eld.

Nachison answered 26/12, 2014 at 14:31 Comment(6)
Thanks! Addendum for Spacemacs users: I found the file under ~/.emacs.d/.cache/projectile-bookmarks.eld.Messenia
The order of the entries of the list in this file changes all the time and really clutters up your git working tree, so I would not recommend this as a persistent mechanism for storing known projects as configuration!Twenty
On Doom Emacs, I found ~/.emacs.d/.local/cache/projectile.projectsAnthemion
Is it possible to change path for the ``projectile-bookmarks.eld` ?Array
@alper, that should probably be a separate question but it looks like you can modify the variable projectile-known-projects-file.Nachison
@Nachison please see emacs.stackexchange.com/questions/64159/…Array

© 2022 - 2024 — McMap. All rights reserved.