The Microsoft Visual Studio Code Command Palette

What is the Command Palette?

The Command Palette provides access to many commands. You can execute editor commands, open files, search for symbols, and see a quick outline of a file, all using the same interactive window. Here are a few tips: Ctrl+P will let you navigate to any file or symbol by typing its name.

The Command Palette in Microsoft Visual Studio Code is a very convenient way to access VS Code features.

There are two ways to access the Command Palette.

Keyboard Shortcut

The simplest and quickest way to access the Command Palette is to use the keyboard shortcut. It is Shift-Cmd-P for Macs or Shift-Ctrl-P for Windows 10 or Ubuntu computers.

I strongly recommend using the keyboard shortcut to access the Command Palette. This, combined with the recent commands feature, make the Command Palette extremely fast to use.

In the video, I use the GUI because it is very visual. Visual is good for videos, but it is very slow by comparison.

To get to the Command Palette using the GUI, click on the Manage icon.

Click on Command Palette.

Open Sesame!!

The Command Palette will open.

Command Palette Enter live server

Start to enter a command in Command Palette. In the example I will use, I will remove the folder ZombieLife from the Workspace.

Commands that contain the word Remove are displayed.

Command Palette Enter live server

I entered remove folder out of habit. Commands that contain remove folder are displayed. There is only one.

Click on the command you want.

Command Palette Click on Open with Live Server

What happens next depends on the command you entered or clicked on. In this case, I am presented with a list of folders that can be removed. I click on ZombieLife.

Command Palette Recent Commands Feature

The folder ZombieLife is removed from the Workspace.

Command Palette Recent Commands Feature

Using the keyboard shortcut and the recent commands feature make the Command Palette a powerful tool indeed!


Command Palette

Scroll to Top