VISUAL STUDIO CODE · ОСНОВЫ · LESSON 13
Command palette
A quick search for action · about 9 minutes
STEP 1Look for action by name
Press Ctrl+Shift+P, on Mac - Cmd+Shift+P. The command list will open. Start writing the action title and VS Code will show you the options.
✦ You don’t have to remember which menu each command is hidden in.
STEP 2Try a safe command.
Find the command View: Toggle Word Wrap. It carries long lines for ease of reading. Repeat the command to bring the view back.
How to find actionOpen it.paletteWrite.commandChoose.necessary
✦ The command palette changes the action of the editor, not the text of the program.
TRY IT YOURSELFPractice
Open the command palette, find View: Toggle Word Wrap, turn on and then turn off the long string transfer.