Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-6518

Provide CommandProvider LSP SPI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 15
    • None
    • lsp
    • None

    Description

      There are already other modules that depend on LSP APIs, but they cannot contribute commmands to LSP clients, some weird hacks (see https://github.com/apache/netbeans/pull/4461#discussion_r936310039) must be done in integration code. Some SPI should be introduced so that the modules can expose their functions not only to the IDE, but also to lsp clients.

      IMHO trivial deserialization of command parameters and serialization of the command results should be handled by the LSP server module.

      Question: should be the LSP commands, served to external LSP clients, served also to the INTERNAL LSP client, if used ?

      // cc: dbalek jlahoda 

      Attachments

        Activity

          People

            Unassigned Unassigned
            sdedic Svatopluk Dedic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: