-
Notifications
You must be signed in to change notification settings - Fork 12
Bash Call Hierarchy
You can use - context menu of * editor: either on a function or at script level * outline: of editor (only at function items) * project: explorer, navigator etc. - source menu when your active editor is bash editor - Just press <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>G</kbd> inside bash editor at function name or when just search for script usage, click inside editor (without selection)
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 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.