Skip to main content

Go to Symbol in VS Code (Linux)

Press Ctrl + Shift + O to list the functions and classes of the current file and jump to one.

What it does

Go to Symbol opens a list of the symbols in the file you are editing: functions, classes, methods and, in a Markdown file, the headings. Type part of a name to narrow the list, and press Enter to jump there. Type a colon first to group the list by kind. It needs language support for the file type, as Go to Definition does.

The same shortcut on other platforms

PlatformShortcut
Linuxthis pageCtrl + Shift + O
macOS
Windows

More VS Code shortcuts: Navigation

  • Toggle Problems
  • Switch Editor
  • Go to Line

All 29 VS Code shortcuts for LinuxThe full list has a search and a printable PDF.

Questions

What is the VS Code shortcut for Go to Symbol on Linux?

Ctrl+Shift+O. Press it to list the functions and classes of the current file and jump to one.

What is the shortcut for Go to Symbol in VS Code on macOS and Windows?

On macOS it is ⇧⌘O. On Windows it is Ctrl+Shift+O.