redhat-developer / redhat-developer/vscode-java
In lightweight mode, take module restrictions into account
Open
Nobody has claimed this yet.
compile
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
See Steps To Reproduce: the hover shows the documentation for an internal class. In lightweight mode, only classes in packages which are exported from java.base should be considered.
Environment
- Operating System: Windows 11
- JDK version: 17.0.2
- Visual Studio Code version: 1.65.2
- Java extension version: 1.4.0
Steps To Reproduce
I have the following code:
import org.springframework.beans.factory.annotation.Value;
public class Foo {
@Value("${foo.bar}")
private String fooBar;
}
Current Result

Expected Result
No pop-up is shown.
Additional Informations
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported Steps To Reproduce in lightweight mode and inspect how the Java extension determines which classes are available for hover documentation. Done means internal classes that are not exported from java.base no longer produce a hover, while exported packages remain considered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100