Skip to content

Resume/Repeat last Finder action #1544

@mphe

Description

@mphe

Is your feature request related to a problem? Please describe.
Sometimes I need to find all references or implementations of something and make changes there.
The workflow is

  1. Find references
  2. Search relevant reference entry
  3. Jump
  4. Edit
  5. Repeat until done

However, after jumping, the Finder closes and I need to get back to some reference location to run another reference search.

Describe the solution you'd like
It would be useful to have a way to resume or repeat the last Finder action so you can continue where you left off.

Describe alternatives you've considered
My current alternative is to call :lua vim.lsp.buf.references() to retrieve all entries in the location list which persists accross jumps.
However, it is not as nice as the Finder.

I'm also aware that you can shuttle to the Finder preview and make changes there, but for larger scale changes it feels better to jump to the source directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions