Warp Documentation
Search…
⌃K

Syntax and Error Highlighting

What is Syntax Highlighting

Warp supports Syntax Highlighting in the Input Editor. It colors each part of a command to help differentiate between sub-commands, options/flags, arguments and variables.

How to access Syntax Highlighting

When Syntax Highlighting is enabled, Warp's Input Editor automatically recognizes each part of the command as you type it into the Input Editor, and syntactically highlight them.

How to enable/disable Syntax Highlighting

Syntax highlighting is enabled by default, to toggle it:
  1. 1.
    Press CMD-P to open up the Command Palette
  2. 2.
    Search for the "Syntax Highlighting" option and click it (or press enter) to enable/disable
Alternatively, navigate to Settings > Features and toggle Syntax highlighting for commands

How Syntax Highlighting works

Syntax Highlighting Demo

What is Error Underlining

Warp highlights errors in commands that are typed within the Input Editor e.g. if the binary for the command you've typed does not exist. Note: Newly installed apps will trigger underlining until you open a new Warp Window / Tab.

How to access Error Underlining

When Error Underlining is enabled, Warp automatically underlines any invalid commands with a dashed red underline.

How to enable/disable Error Underlining

Error underlining is enabled by default, to toggle it:
  1. 1.
    Press CMD-P to open up the Command Palette
  2. 2.
    Search for the "Error Underlining" option and click it (or press enter) to enable/disable
Alternatively, navigate to Settings > Features and toggle Error underlining for commands

How Error Underlining works

Error Underlining Demo