Reputation: 144
I love the new Google Apps Script interface, but navigating around the script is super hard.
What methods do people use?
to jump to a function in a script file.
to jump to functions in other script files.
(bonus) to catalog what user functions are used in a function.
Upvotes: 2
Views: 578
Reputation: 1305
Solution 1
Press cmd
and click on the function name. It opens a pop-up with the original function.
PS: Does somebody know how to open up the pop-up and go to that file?
Solution 2 Install AppsScript Color and do a search and click the magnifying glass to search through all files.
Upvotes: 1
Reputation: 8974
You can try navigating to a definition, reference or symbol by using the Go to Definition
, Go to Reference
or Go to Symbol
commands.
You can execute those commands by using the short-cuts Ctrl+F12
, Shift+F12
or Ctrl+Shift+O
respectively, or by right-clicking text in your code to bring up the context menu. Doesn't seem to work with closures though.
The new editor has a bunch of new options and features. Easiest way to find and explore them is by opening the command palette by pressing F1
.
Upvotes: 2