Skip to content

Add variable to remember most recent project #1809

@NicholasBHubbard

Description

@NicholasBHubbard

I think it would be useful to provide a variable such as projectile-most-recent-project that remembers the most recent project that you were working in. It is common that I am working on a project and then I switch to a buffer that is related to what I am doing even though it is not a member of any project. Unfortunately when I try to switch projectile buffers again I get "You're not in a project".

If such a variable existed I could easily write my own projectile wrapper functions that default to the most recent project.

I am not the only person that has wanted a way to access the most recent project: #664

I looked into opening a PR that adds this variable, but I could not figure out which function should set this variable so it works reliably across all of projectile. If you could give me some advice on how to do this I would be happy to make the change myself!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions