Hi Alex,
Currently I am using global search for the function name (as this is the only possible option as of now). It is helpful, but requires some extra effort to correctly identify the references of a function. I've observed the challenges in following scenarios:
- When the function with the same name is present in multiple script files, then global search by function name isn't very helpful. We still need to identify the correct references manually.
- It is again time-taking to identify the correct function call, go to the calling function, and make the necessary changes.
Example: suppose, a new parameter is added to the reusable function, then it is required to update all the calls of the specific function, and specify an additional parameter. With global search, it will involve lots of manual effort to correctly update all the references.
In case of standard IDEs, it is really easy to check the references / usage of current function as shown in the attached snippet (snippet from IntelliJ IDE). All the standard IDEs have this feature. It is very helpful to check all the functions calling the current function, jump to the calling function and so on with this feature.