Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Pigeon Parser GeneratorNew to Visual Studio Code? Get it now.
Pigeon Parser Generator

Pigeon Parser Generator

forestbelton

|
2 installs
| (0) | Free
Syntax highlighting for Pigeon parser generator files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-pigeon

This extension provides syntax highlighting for Pigeon parser generator files in Visual Studio Code.

Features

  • Syntax highlighting for Pigeon grammar files (.peg, .pigeon)
  • Embedded Go code syntax highlighting within code blocks
  • Support for all Pigeon operators and constructs:
    • Rule definitions with various assignment operators (<-, =, ←, ⟵)
    • String literals (double quotes, single quotes, backticks)
    • Character classes and ranges
    • Unicode escapes (\uXXXX, \UXXXXXXXX)
    • Unicode properties (\pL, \p{Letter}, etc.)
    • Quantifiers (*, +, ?)
    • Operators (/, !, ., &, ^)
    • Labels
    • Case-insensitive suffix (i)
    • Comments (line and block)

Installation (Manual)

  1. Clone this repository or download the files
  2. Copy the extension folder to your VS Code extensions directory:
    • Windows: %USERPROFILE%\.vscode\extensions
    • macOS/Linux: ~/.vscode/extensions
  3. Reload VS Code

Usage

The extension automatically activates for files with .peg or .pigeon extensions.

License

This extension is released under the MIT License.

Credits

Based on the original Vim syntax file by Jason T. Bradshaw from pigeon.vim.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft