-
Notifications
You must be signed in to change notification settings - Fork 12
Bash Call Hierarchy
You can use
-
Context menu:
-
Editor:
either on a function or at script level -
Outline:
of editor (only at function items) -
File:
when inside Project Explorer, Navigator etc.
-
-
Source menu:
when your active editor is bash editor -
Shortcut inside editor:
Just press Ctrl+Shift+G inside bash editor. Either without an active selection or you select a function definition inside editor before pressing the shortcut
This is supported. E.g. when selecting function "foo" inside "example1.sh" file and example2.sh is using foo inside its code, you will see example2.sh inside call hierarchy.
💡
|
When you see a call to a function and you want to jump to the definition, you can do this via hyperlink feature. |
When you are using function names inside comments or strings, those parts will also be recognized inside call hierarchy. Please be gentle and just ignore those entries/noise. Maybe in future this will be improved.
Inside Bash Call Hierarchy View there is a blue bullet icon available. This shows that your call hierarchy search does only search inside same project. When you click on the icon it will switch to a 3 bullet variant which scans complete workspace. Clicking again to the icon switches back to project only mode.