Skip to content

Request batching #988

Open
Open

Description

The protocol defines quite some message which are executed on a text document (e.g. folding ranges, document links, colors, ...). Clients usually send these request after a timeout ask the server to recompute the responses after the user typed. Since these request require to reconcile the AST and even may be resolving symbols it would be useful for a server to know that a client will ask for on of these requests. To support such an optimization we should look into batch n requests. Two ideas:

Activity

  1. added
    feature-request
    on May 18, 2020
  2. strager commented on Jan 26, 2023

    @strager
    Contributor

    use JSON RPC Batching (https://www.jsonrpc.org/specification#batch). Downside is that most RPC libraries have no support for this.

    I noticed the lack of support as well. I decided to make the status quo explicit: #1651

  3. ddickstein commented on Apr 29, 2023

    @ddickstein

    Should this issue be closed if support is not planned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestnew request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions