VS Code: The command palette

The Command Palette is a very powerful tool. You enable it by clicking View ➤ Command Palette, or using cmd shift p

A modal window will appear at the top, offering you various options, depending on which plugins you have installed, and which commands you used last.

Examples of optionations you can perform are:

  • Extensions: Install Extensions
  • Preferences: Color Theme to change the color theme (I sometimes change from night to day)
  • Format Document, which formats code automatically

…but really, anything that comes to mind can be done here.

You can activate any of those by starting typing, and the autocomplete function will show you the one you want.

Lessons in this unit:

0: Introduction
1: The interface
2: Opening folders
3: Editing
4: Search
5: Source control
6: Extensions
7: Themes
8: Recommended extensions
9: ▶︎ The command palette
10: Shortcuts
11: Customization
12: Terminal