Skip to content

Could CIDER provide an xref backend instead of hijacking M-. and M-,? #2831

@stig

Description

@stig

Is your feature request related to a problem? Please describe.

I'm frustrated with the way CIDER hijacks M-. in all clojure-mode buffers, even for projects where you don't connect to CIDER. I don't always want to connect to CIDER to navigate projects efficiently.

Describe the solution you'd like

I would love for CIDER to provide an xref backend instead of hijacking M-., similar to how clojure-lsp does.

My hope is that this would mean xref would present results both from CIDER and clojure-lsp, and other backends.

Describe alternatives you've considered

A simpler (though less ideal) fix would perhaps be to fall back to xref-find-definitions if there's no CIDER connection for the project.

Additional context

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions