Hi Greg,
There is a way to make the editor 'focus' on a single function.
It's all about this button in the button-bar. You should see it enabled when you click in the Outline view.
- Toggle-button
- Toggle-Button-2.png (48.81 KiB) Viewed 11172 times
If you don't see this button then you need to do the following to make it show:
- Make sure you have a Script editor open and selected.
- Go to the menubar > Customize Perspective.
You will see the following window, expand the Editor Presentation node.
- Customize Perspective
- customize-perspective.png (93.04 KiB) Viewed 11172 times
Here you enable the 'Show Selected Element Only' option.
Close the window and you should have the button in the button-bar.
To be able to toggle this button you need to click in the Outline view, after you have it enabled you can 'focus' on each function by selecting the function in the outline view.
Only downside of this is that you don't see the JSDoc headers anymore so if you need to edit those you need to unselect the function in the outline view or toggle the button.
Hope this helps.