Giter Club home page Giter Club logo

Comments (5)

mattiasb avatar mattiasb commented on May 17, 2024

This is probably what I've been experiencing with several modes. Emacs appears to hang, but it's just an effect of the synchronous nature of the RPC implementation then I guess.

from lsp-mode.

vibhavp avatar vibhavp commented on May 17, 2024

The problem here is that lsp-mode is designed to plug into already existing emacs interfaces. As long as they're not asynchronous, we can't make lsp-mode async. However, a timeout is feasible.

from lsp-mode.

s-kostyaev avatar s-kostyaev commented on May 17, 2024

@vibhavp you can do it with some tricks like this s-kostyaev/ivy-erlang-complete@1dcb258

from lsp-mode.

vibhavp avatar vibhavp commented on May 17, 2024

The current timeout value is 10 seconds. Is that fine, or should I further lower it?

from lsp-mode.

alanz avatar alanz commented on May 17, 2024

That is probably fine.

The problem is that some commands (for haskell anyway) can potentially run for a long time.

So some sort of async processing would be ideal. But let's see how this works out.

After all, this should only be triggered if there is a problem on the server, in my experience.

from lsp-mode.

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.