redhat-developer / redhat-developer/vscode-java
call hierarchy does not find callers (but it should)
@snjeza đang làm issue này rồi.
Từ ngày 15/1/2023.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.3k
- Fork
- 546
- Merge trung bình
- 20 giờ 1 phút
- Pull request đã merge (30 ngày)
- 11
Mô tả
Environment
- Operating System: macos 12.0.1
- JDK version: 11
- Visual Studio Code version: 1.62.2
- Java extension version: java extension pack v0.18.6
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-java/issues/2219
step2: run mvn clean install
step 3: "import the project in vscode"
open MyCustomizer.java and select the method called customize
make a right click and select Show call hierarchy
Vscode should (and do) find a method (see screenshot)
step 4: open pom.xml and uncomment the dependency:

step 5:
open MyCustomizer.java and select the method called customize
make a right click and select Show call hierarchy
--> VSCODE does not find any calls to this method: that is an error! vscode should find the same call hierarchy as on step 3 (IntelliJ shows correctly the call hierarchy)
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.