13

Is there a way to quickly navigate through large files with multiple functions? Something like class view in VS ?

1
  • 1
    There is now an Outline panel, that shows the gotoSymbol data as a tree. This should be a tab in the Explorer panel. Aug 22, 2018 at 7:19

3 Answers 3

12

Yes, there is the workbench.action.gotoSymbol command also known as outlining. Its default shortcut is CTRL+Shift+O.

If you have an extension installed which supports this command for the current file type then a list of methods, classes and maybe other symbols for the current file will drop down which allows you to jump to their definitions.

3
  • 3
    have you seen a GUI extension, by chance?
    – cdaringe
    Nov 22, 2016 at 22:37
  • I hope this is not against the rules, but I found this extension really useful. I think it fits what the OP needs. marketplace.visualstudio.com/… Feb 20, 2018 at 5:46
  • 1
    @finnTheHumin this extension is deprecated : ⚠️ DEPRECATED. Please use the Outline view that comes with Visual Studio Code. Sep 2, 2019 at 11:40
10

Yes, there is now a built-in Outline View in VS CODE

0
  1. There is a built-in Outline View in Vscode (as other answer said)

  2. There is also [outline-map] https://marketplace.visualstudio.com/items?itemName=Gerrnperl.outline-map

    • it collapses the object/hierarchy automatically, & expands as you scroll to it.

      (recommended, more usable than the built-in one)

  3. (or just find other ones in Vscode Extension Marketplace)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.