spring-projects / spring-projects/spring-tools

show only bean name proposals on qualifier annotations when type matches

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

Nobody has claimed this yet.

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

Description

At the moment, the content-assist for the qualifier annotation shows up bean names and existing qualifier values, independent of the exact definition of the injection point. We could trim down the list of proposals by listing only those bean names that match the type of the injection point.

As another step we could also reduce the list of existing qualifier values to those that where used on bean definitions that match the given type of the injection point.

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

The issue names no files or tests. Start by locating the qualifier-annotation content-assist entry point and the handling of the injection-point type, then trace how bean-name and existing-qualifier proposals are gathered. Done means proposals are limited to matching bean definitions and their qualifier values.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
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.