Skip to content

Improve documentation to explain more how to register custom LSP command. #553

Closed

Description

@angelozerr

Discussed in #363

Originally posted by CppCXY June 18, 2024
image
My own language server supports the CodeLens feature, but it needs to use the client's command to implement the click to pop up usages. How can I register such a command and pop up the usage UI?

It exists a documentation at https://github.com/redhat-developer/lsp4ij/blob/main/docs/DeveloperGuide.md#lsp-commands but it would be nice to add a sample piece of code.

Activity

  1. added
    documentation
    on Oct 1, 2024
  2. AzazelSensei commented on Aug 31, 2026

    @AzazelSensei
    Contributor

    Opened #1658 with a Java/plugin.xml sample for registering a custom client command.

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

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions