spring-projects / spring-projects/spring-tools

verify that document requests work without didOpen/didClose events coming in

Open
#1,215 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

for: eclipse for: vscode theme: internal-architecture type: enhancement
Dominant language
Java
Stars
983
Forks
240
Avg merge
7d 1h
Merged PRs (30d)
7

Description

According to the discussion in https://github.com/microsoft/language-server-protocol/issues/1912, I stumbled upon the fact that document related requests (e.g. for code lenses or other stuff) can happen without a prior didOpen event (and corresponding didClose).

We need to double check and verify that the Spring Boot language server behaves correctly according to this, so that it can serve those document-related requests also in situations where there is no document open and therefore not in the internal document service store.

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 reading the linked LSP discussion and tracing document-related request handling through the Spring Boot language server and its internal document service store. Verify code-lens and similar requests when no didOpen event has occurred; done means those requests behave correctly without an open document, with coverage for the no-open-document case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.