Community
    • Login

    Does Notepad++ support Language Server Protocol (LSP)

    Scheduled Pinned Locked Moved General Discussion
    9 Posts 5 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Murray Sobol 1M
      Murray Sobol 1
      last edited by

      As in title: Does Notepad++ support Language Server Protocol (LSP)??
      The reason I ask is that am learning a few new languages such as Rust, Node.js, React to name a few.
      I was wondering: for Rust I used the plugin for Rust; would it be feasible to link it to the Language Server for Rust?? https://github.com/rust-lang/rls
      My initial thought was that if I selected the plugin for Rust, an option (or prompt) could be available to link to to its Language Server.
      Similarly, I believe that there are Language Servers for Node.js, React and many more.
      Questions and comments would be appreciated.

      PeterJonesP EkopalypseE 2 Replies Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Murray Sobol 1
        last edited by

        @Murray-Sobol-1 ,

        Natively, no. But it could be implemented in a plugin.

        For example, @Ekopalypse is working on NppLspClient, which is still in development/alpha state, but I’ve started to use with a Perl LSP server, and though it’s not feature-complete yet, it is showing promise.

        EkopalypseE Murray Sobol 1M 2 Replies Last reply Reply Quote 3
        • Murray Sobol 1M
          Murray Sobol 1 @PeterJones
          last edited by

          @PeterJones
          Thanks Peter, I will try to contact @Ekopalypse re: NppLspClient
          Do you have his email address?
          I followed his link to: https://community.notepad-plus-plus.org/user/ekopalypse?_=1732865572982 but didn’t see any way to post a message for him.

          Thanks

          1 Reply Last reply Reply Quote 0
          • EkopalypseE
            Ekopalypse @Murray Sobol 1
            last edited by

            @Murray-Sobol-1

            Just for completeness, another plugin I know of that implements lsp was created by @kered13 here but I’m not aware of its status.

            1 Reply Last reply Reply Quote 0
            • EkopalypseE
              Ekopalypse @PeterJones
              last edited by

              @PeterJones said in Does Notepad++ support Language Server Protocol (LSP):

              though it’s not feature-complete yet

              If you, or anyone else, would like to have a missing feature implemented in the LSP client, feel free to start a discussion on github because for me it already has everything I need ;-)

              Even though the goal is to have a 3.17 compatible client I’m happy to listen to suggestions on what to implement first.

              R 1 Reply Last reply Reply Quote 2
              • R
                rinzwind5 @Ekopalypse
                last edited by

                @Ekopalypse “Npp 8.6.3, 8.6.4 and 8.7.6 have introduced changes that disable notifications that this plugin relies on, and is therefore not compatible with these versions. Sorry for the inconvenience.”

                So it does not work anymore? Any alternatives?

                EkopalypseE 1 Reply Last reply Reply Quote 0
                • EkopalypseE
                  Ekopalypse @rinzwind5
                  last edited by

                  @rinzwind5

                  It should work with versions other than those reported. The problem with those versions is that they disabled the notifications that the plugin relies on, without the ability to re-enable them. Later Npp versions have given the plugins the ability to request them again, which each subsequent plugin version does and so should actually work.

                  1 Reply Last reply Reply Quote 1
                  • notdodgeballN
                    notdodgeball
                    last edited by

                    From the way that it’s worded it seems the plugin only works correctly with versions before these ones. This change would make all the difference

                    … and is therefore not compatible with these specific versions.

                    EkopalypseE 1 Reply Last reply Reply Quote 1
                    • EkopalypseE
                      Ekopalypse @notdodgeball
                      last edited by

                      @notdodgeball

                      thanks - I’ve changed it accordingly.

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post
                      The Community of users of the Notepad++ text editor.
                      Powered by NodeBB | Contributors