redhat-developer / redhat-developer/vscode-java

[feature] Improve Move symbol by using Custom QuickPick which will not load all symbols.

Open
#2,630 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

code action enhancement
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

Today the Move symbol refactor operation load all types in the project. If the project is large, it takes a lot of time to load the items and its overwhelming to select from.

A suggestion is to use https://code.visualstudio.com/api/references/vscode-api#QuickPick%3CT%3E so that we can start loading the types which are in the same package to start with, and then when user start typing we can use that as a query parameter and load more items with a de-bounce.

This will give much better user experience and fast response.

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 Move symbol refactor operation and review the VS Code QuickPick API linked in the issue. The change should avoid loading every type initially, begin with types from the same package, and query additional items with debouncing as the user types.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.