• Login
Community
  • Login

Does Notepad++ support Language Server Protocol (LSP)

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 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.
  • M
    Murray Sobol 1
    last edited by Nov 28, 2024, 7:36 PM

    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.

    P E 2 Replies Last reply Nov 29, 2024, 12:21 AM Reply Quote 0
    • P
      PeterJones @Murray Sobol 1
      last edited by Nov 29, 2024, 12:21 AM

      @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.

      E M 2 Replies Last reply Nov 29, 2024, 7:38 AM Reply Quote 3
      • M
        Murray Sobol 1 @PeterJones
        last edited by Nov 29, 2024, 7:38 AM

        @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
        • E
          Ekopalypse @Murray Sobol 1
          last edited by Nov 29, 2024, 10:25 AM

          @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
          • E
            Ekopalypse @PeterJones
            last edited by Nov 29, 2024, 10:53 AM

            @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.

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