Closed obar closed 3 years ago
helm-projectile-switch-project with M-D action should remove all marked projects
helm-projectile-switch-project
M-D
Removes all marked projects except for the first one in projectile-known-projects
projectile-known-projects
This is a small bug, happening because delete doesn't guarantee side effects and doesn't change the list if the first element is deleted.
delete
(add-to-list 'projectile-known-projects "~/dummy-project/") M-x helm-projectile-switch-project M-D (on dummy-project) y (to confirm removal at prompt) M-x helm-projectile-switch-project
dummy-project is still on the list
dummy-project
Expected behavior
helm-projectile-switch-project
withM-D
action should remove all marked projectsActual behavior
Removes all marked projects except for the first one in
projectile-known-projects
This is a small bug, happening because
delete
doesn't guarantee side effects and doesn't change the list if the first element is deleted.Steps to reproduce the problem
dummy-project
is still on the list