microsoft / microsoft/vscode-java-pack
"Show Call Hierarchy" on interface method shows calls to return type's constructors instead
@testforstephen ci sta già lavorando.
Dal 3/12/2021.
- Lingua principale
- TypeScript
- Stelle
- 352
- Fork
- 166
- Merge medio
- 17h 47m
- PR unite (30g)
- 32
Descrizione
Environment:
Version: 1.61.0-insider (user setup)
Commit: 0c83ca1ced83259971d80890d93abbe19cbfc992
Date: 2021-09-15T05:16:32.507Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19042
- VS Code Version: 1.61.0-insider (user setup)
- Extension Version: 0.18.5
- JDK Type & Version: 11.0.10+9
- OS Type & Version: Windows 10 Pro (20H2 19042.1165 Windows Feature Experience Pack 120.2212.3530.0)
Step to Reproduce:
Given a java interface, like the one below
package mypackage;
public interface IMyService {
Long doService(MyDTO dto, MyOtherDTO other) throws MyServiceException;
}
Right-click doService method, and "Show Call Hierarchy" (Shift+Alt+H).
Expected Behavior:
I was expecting a list of calls to doService, either over a reference to the given interface or subinterface thereof, or any implementing class, or subclass thereof.
Actual Behavior:
The "References" view appears with a very very long list of method calls, aptly rooted at doService(MyDTO dto, MyOtherDTO other), but the calls are actually those of new Long(...).
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.