Make sure that in front of your text is a "greater than" character as it's helps VSCode detects that you're searching for commands. If you accidentally deleted it, press Esc and Ctrl + Shift + P to reopen Command Palette again.