eclipse-lsp4e / eclipse-lsp4e/lsp4e

Support for partialResults

Open
#737 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
85
Forks
69
Avg merge
8h 33m
Merged PRs (30d)
6

Description

Recent LSP version has partialResults, which would fit very well numerous use-cases such as completion when a LS can take long to return some results. LSP4E should include support for it.

At the moment, LSP4J has the token visible in API. However, it may be worth improving LSP4J so it can allow future.getNow() to return those partial results.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how LSP4E requests completion results and how the LSP4J token is exposed in its API. Review whether LSP4J can provide partial results through future.getNow(), then define the coordination needed for LSP4E to consume them. Done means partialResults support works for long-running completion requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.