Community
    • Login

    Does Notepad++ support Language Server Protocol (LSP)

    Scheduled Pinned Locked Moved General Discussion
    9 Posts 5 Posters 3.8k Views 2 Watching
    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 Offline
      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 1
      • PeterJonesP Offline
        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.

        Murray Sobol 1M EkopalypseE 2 Replies Last reply Reply Quote 3
        • Murray Sobol 1M Offline
          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 Offline
            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 Offline
              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 Offline
                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 Offline
                  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 Offline
                    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 Offline
                      Ekopalypse @notdodgeball
                      last edited by

                      @notdodgeball

                      thanks - I’ve changed it accordingly.

                      1 Reply Last reply Reply Quote 1

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • First post
                        Last post
                      The Community of users of the Notepad++ text editor.
                      Powered by NodeBB | Contributors