spring-projects / spring-projects/spring-tools

[bean completion proposals] improve performance of additional edits showing up

Open
#1,477 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

for: vscode status: needs-investigation theme: code completion theme: performance type: enhancement
Dominant language
Java
Stars
983
Forks
240
Avg merge
7d 1h
Merged PRs (30d)
7

Description

There is a significant lag between the completion being activated and the additional edits showing up in the editor. This causes a slightly weird and irritating moment, since additional text edits happen in the editor at a moment that is somewhat disconnected from the user interaction (of selecting the proposal). This lag also causes difficulties in a fast and fluent editing experience, for example when adding a method invocation to the bean variable that got introduced by the completion.

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 at the bean completion proposals entry point and investigate the timing between proposal activation and additional edits appearing in the editor. Reproduce the lag while adding a method invocation to the introduced bean variable; done means the additional edits appear without a noticeable delay or disconnect from the selection.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
performance, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.