Warp documentation
  • 🚀Getting Started
    • Quickstart Guide
    • What is Warp?
    • Migrate to Warp
    • Using Warp with [zsh|bash|fish|pwsh]
    • Privacy
    • Refer a Friend & Earn Rewards
    • Warp Preview & Alpha Program
    • Changelog
  • 🎨Appearance
    • Themes
    • Custom Themes
    • Prompt
    • Input Position
    • Text, Fonts, & Cursor
    • Size, Opacity, & Blurring
    • Pane Dimming & Focus
    • Blocks Behavior
    • Tabs Behavior
    • App Icons
  • 📕Features
    • Warp AI
      • Active AI
      • Agent Mode
      • Generate
      • Model Context Protocol
      • Voice
      • Rules
    • Command Palette
    • Warp Drive
      • Notebooks
      • Workflows
      • Prompts
      • Environment Variables
      • Warp Drive on the Web
    • Teams
    • Session Sharing
    • Blocks
      • Block Basics
      • Block Actions
      • Block Sharing
      • Block Filtering
      • Background Blocks
      • Sticky Command Header
    • Modern Text Editing
      • Alias Expansion
      • Command Inspector
      • Syntax & Error Highlighting
      • Vim Keybindings
    • Command Entry
      • Command Corrections
      • Command Search
      • Command History
      • Synchronized Inputs
      • YAML Workflows
    • Command Completions
      • Completions
      • Autosuggestions
    • Session Management
      • Launch Configurations
      • Session Navigation
      • Session Restoration
    • Window Management
      • Global Hotkey
      • Tabs
      • Split Panes
    • Warpify
      • Subshells
      • SSH
    • Accessibility
    • Find
    • Files, Links, & Scripts
    • Markdown Viewer
    • Working Directory
    • Smart-Select
    • Full-screen Apps
    • Keyboard Shortcuts
    • Notifications & Audible Bell
    • Settings Sync (Beta)
    • Quit Warning
    • Integrations
    • URI Scheme
    • Network Log
    • Secret Redaction
    • Linux
  • 📊How Does Warp Compare?
    • Performance
    • Terminal features
  • ❓Help
    • Sending Feedback & Logs
    • Plans, Subscriptions & Pricing
    • Updating Warp
    • Using Warp Offline
    • Logging out & Uninstalling
    • Known Issues
    • Troubleshooting Login Issues
    • Open Source Licenses
Powered by GitBook
On this page
  • What is Syntax Highlighting
  • How to access Syntax Highlighting
  • How to enable/disable Syntax Highlighting
  • How Syntax Highlighting Works
  • What is Error Underlining
  • How to access Error Underlining
  • How to enable/disable Error Underlining
  • How Error Underlining works

Was this helpful?

  1. Features
  2. Modern Text Editing

Syntax & Error Highlighting

Syntax Highlighting differentiate between sub-commands, options/flags, arguments, and variables. Error Highlighting automatically underlines any invalid commands with a dashed red underline.

PreviousCommand InspectorNextVim Keybindings

Last updated 6 months ago

Was this helpful?

What is Syntax Highlighting

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

Newly installed apps or newly created aliases will not trigger syntax highlighting until you open a new Warp session (new window, tab, or pane), even if you source the RC files in the current session.

How to access Syntax Highlighting

When Syntax Highlighting is enabled, Warp's 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:

  • Through the , search for the "Syntax Highlighting" option and click it (or press enter) to enable/disable.

  • Through Settings > Features > Editor , toggle "Syntax highlighting for commands"

How Syntax Highlighting Works

What is Error Underlining

Newly installed apps or newly created aliases will trigger error underlining until you open a new Warp session (new window, tab, or pane), even if you source the RC files in the current session.

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:

  • Through Settings > Features > Editor , toggle "Error underlining for commands"

How Error Underlining works

Warp highlights errors in commands that are typed within the e.g. if the binary for the command you've typed does not exist.

Through the , search for the "Syntax Highlighting" option and click it (or press enter) to enable/disable.

📕
Input Editor
Command Palette
Input Editor.
Input Editor
Command Palette
Syntax Highlighting Demo
Error Underlining Demo