Outline view integration

If you enable the advanced editing, the Outline view shows the structure of the current JavaScript editor:

Outline of JavaScript code.