Search code examples
classkeyboard-shortcutsvisual-studio-code

VSCode: search classes / go to class for imported libraries


What is the VSCode equivalent to IntelliJ's Go to class ? I.e. I want to type in the class name and receive a pop-up list of all the classes that match my pattern. However, these should include not-only my project's classes but also imported libraries' classes.

InteliJ has an option "Include non-project items" when you look for classes using ⌘ + O or ctrl+O.

The language I'm using is: Dart.

enter image description here


Solution

  • Try using go to symbol in workspace (bound to T by default). This should be implemented by dart and other language extensions.

    It's up to each extension to determine how this feature works. JS/TS includes symbols from imported libraries for example, but this behavior may differ between extensions