vscode-java icon indicating copy to clipboard operation
vscode-java copied to clipboard

Implement "Open Call Hierarchy"

Open BuZZ-dEE opened this issue 8 years ago • 4 comments

Currently it is only possible to get the references of a function. I would like to see the call hierarchy of a method etc.

BuZZ-dEE avatar Sep 26 '18 14:09 BuZZ-dEE

There is officially an available call hierarchy view in VS Code now: https://code.visualstudio.com/updates/v1_33#_call-hierarchy

This is a really critical development feature for a lot of people, and for me is probably the major reason that I can't use VS Code as my sole IDE. Any progress towards implementing it would really help consolidate peoples' development toolset.

hak33m16 avatar Oct 10 '19 13:10 hak33m16

Actually the call hierarchy view mentioned in VS Code v1.33 is just a preview, it's proposed api, not exposed to third-party extension yet. Currently VS Code team is trying to make the call hierarchy api stable, and it's in their October iteration plan. Once VS Code client is officially ready for this feature, we would like to support it in the first place. Please stay tuned.

testforstephen avatar Oct 10 '19 13:10 testforstephen

For now Peek/Find All References will do some help, but it only worked for project files, not for dependency library. Is there any possibilities to enhance it with library files before the true call hierarchy feature?

langlan avatar Nov 30 '19 15:11 langlan

Fixed with https://github.com/eclipse/eclipse.jdt.ls/pull/1306 and https://github.com/redhat-developer/vscode-java/pull/1194, thanks to @kittaakos and @testforstephen

fbricon avatar Dec 18 '19 21:12 fbricon