spring-projects / spring-projects/spring-tools

[spring framework 7] support bean registrars that are defined in libraries

Open
#1,525 0 comments 0 reactions 2 assignees View on GitHub

@martinlippert is already working on this.

Since Mar 24, 2025.

for: eclipse for: vscode theme: spring index & symbols theme: validation type: enhancement
Dominant language
Java
Stars
983
Forks
240
Avg merge
7d 1h
Merged PRs (30d)
7

Description

As described here:
https://github.com/spring-projects/spring-framework/issues/21497#issuecomment-2743159198

We might arrive at the point where spring projects provide pre-defined bean registrars and users can basically opt-in by defining and importing a concrete specialization of the pre-defined registrar.

For the indexing that we do inside of the language server, this opens up a whole new area: looking into bean definitions from JAR files on the classpath instead of the source files of the projects only (as we do at the moment).

So we need a lot of groundwork for this to have a general mechanism in place that integrates spring index information from JAR files into the index that the language server creates from the source files (see #1524). Once we have that, we can work on taking bean registrars from libraries into account.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.