What is the Breadcrumbs Feature in Visual Studio Code?

The breadcrumbs feature in Visual Studio Code is a powerful navigation aid located at the top of the editor, directly below the file tabs. This article explains the purpose of breadcrumbs, how they improve your coding workflow by displaying file and symbol hierarchies, and how to use them to navigate your codebase efficiently.

Visualizing Code Context and Hierarchy

The primary purpose of the breadcrumbs feature is to provide instant contextual awareness of where you are working. As you edit, the breadcrumb trail dynamically updates to show two vital pieces of information:

Effortless Code Navigation

Beyond displaying your location, breadcrumbs double as an interactive navigation menu. By clicking on any element in the breadcrumb trail, you can:

Keyboard Shortcuts for Hands-on-Keyboard Coding

For developers who prefer to keep their hands on the keyboard, the breadcrumbs feature is fully accessible via shortcuts.

Customizing or Disabling Breadcrumbs

If you want to customize how breadcrumbs behave, or if you prefer a distraction-free editor and want to turn them off, you can do so easily: