Skip to content

vscode does not show type hierarchy on maven multi module #2871

Description

@clembo590
Environment
  • Operating System: macos 13.0.1
  • JDK version: 17
  • Visual Studio Code version: Version: 1.74.2
  • Java extension version: java extension pack v0.25.7
Steps To Reproduce

Steps To Reproduce
I have created a public repo so that the issue is easily reproducible:

step1: clone this repo:

git clone https://github.com/clembo590/issues.git --branch vscode-class-hierarchy-issue

step2: run mvn clean install
-->no issue

step 3: open the project in vscode

step4: open class called First and perform show type hierarchy

--> The error is that vscode does not show Second as a subclass of First AND IT SHOULD!

Step 5: move Second.java to the same folder than First.java and perform a show type hierarchy on First.java

--> This time the hierarchy is correct.

Type hierarchy works on a single maven module but not on multimodules.

Here is gif
anim

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions