microsoft / microsoft/vscode-java-pack
Bug: Intellisense shows types in packages that are not exported in the module.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 352
- Forks
- 166
- Avg merge
- 17h 47m
- Merged PRs (30d)
- 32
Description
Environment:
- VS Code Version: 1.88.1
- Extension Version: v0.26.0
- JDK Type & Version: OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
- OS Type & Version: Windows 11
Step to Reproduce:
- New project
- Add a ref to this package:
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-messaging-eventgrid-namespaces</artifactId>
<version>1.0.0-beta.1</version>
</dependency>
- add a module-info.java
- Ensure the language level is set to 9+
Expected Behavior:
new EventGrid typed presents types in intellisense that are available
Actual Behavior:
Typing new EventGrid shows types that are in our implementation package which is not exported from the module.
Related Issues:
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the issue in a Java project using the azure-messaging-eventgrid-namespaces Maven dependency, a module-info.java file, and Java language level 9 or later. Compare IntelliSense results for new EventGrid with the types exported by the module; done means non-exported implementation types no longer appear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100