Giter Club home page Giter Club logo

Comments (6)

predragnikolic avatar predragnikolic commented on July 4, 2024

Hello,
Do you have LSP-rust-analyser installed?

from lsp.

TheIronBorn avatar TheIronBorn commented on July 4, 2024

I do but it is disabled

from lsp.

predragnikolic avatar predragnikolic commented on July 4, 2024

In order to avoid this error, you need the LSP rust analyzer package.

Any particular reason why you have it disabled?

from lsp.

TheIronBorn avatar TheIronBorn commented on July 4, 2024

I found I didn't like the configuration flow. Does the standard package really depend on it? Or is there some setting I need to change for that

from lsp.

predragnikolic avatar predragnikolic commented on July 4, 2024

In short someone use LSP and language servers in two ways:

  • install a LSP-* helper package, LSP-rust-analzer. (the preferred way)
  • or create a client configuration in LSP.sublime-settings (if a LSP-* helper package doesn't exist, or if someone just wants to manage the server versions themself).

Sometimes the server might execute a arbitrary command, that is not by the LSP spec, like rust-analyzer.triggerParameterHints,
that requires additional code on the client side (the code to handle this particular case is already in LSP-rust-analazer, thus I asked you if you use it).

That code to handler custom request like this can only be placed in LSP-* helepr pacakges.
It is not possible to add custom request handling when configuring with the client configuration in LSP.sublime-settings.

from lsp.

TheIronBorn avatar TheIronBorn commented on July 4, 2024

I'll close the issue then

from lsp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.