GithubHelp home page GithubHelp logo

Comments (5)

nobody-famous avatar nobody-famous commented on July 20, 2024 1

Yeah, since it's a notification it can be ignored. It'll be easy to add, I just haven't had time to do it, yet. In session.lisp, it already ignores things like "$/setTrace" so it's just a matter of adding a line for "$/cancelRequest".

from alive-lsp.

dennis-barrett avatar dennis-barrett commented on July 20, 2024

The reason I'm interested in this is because I'm writing an app using Croatoan. Similar to how this page describes working with Croatoan and swank/slime, I have my app start an Alive LSP instance, and then I connect to it remotely from VS Code. The above error message gets printed over the app's TUI.

from alive-lsp.

nobody-famous avatar nobody-famous commented on July 20, 2024

There isn't a good way to actually cancel the requests, so ignoring it works. The client should ignore any results that come in after the cancel.

from alive-lsp.

dennis-barrett avatar dennis-barrett commented on July 20, 2024

Could I add an empty handler so it doesn't trigger the error message? (Or otherwise just ignore dollar requests, without triggering the error?)

from alive-lsp.

dennis-barrett avatar dennis-barrett commented on July 20, 2024

@nobody-famous thank you for updating the handlers๐Ÿ™ (I was just about to take a look at creating a PR when I saw you'd already done it.)

from alive-lsp.

Related Issues (13)

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.