Skip to content

Support textDocument/moniker #2307

Duplicate
Duplicate

Description

@lagergren

LSP4IJ never sends textDocument/moniker: it declares no moniker capability, and no feature or view uses one (main
a900e494; docs/LSPSupport.md lists monikers as unsupported). No issue or pull request mentions them.

A moniker names a symbol across servers and projects: the server of the project that declares a symbol and the server
of a project that uses it from a library give it the same moniker. With them, IntelliJ could navigate from a library
reference in one project to its declaration in another open project served by its own server, or find a symbol's uses
across such projects. Ecstasy has that case: user projects refer to the XDK's libraries, whose sources another project
(the XDK's own) serves.

IntelliJ has no moniker view of its own, so this is a feature request rather than a defect: declare the client
capability, and use monikers where a definition or references request comes back empty for a library symbol, by
asking the other open projects' servers for the same moniker.

Activity

  1. lagergren commented on Nov 27, 2026

    @lagergren
    CollaboratorAuthor

    Duplicate of #2249; its use case is now a comment there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions