Skip to content

igochkov/vscode-ebnf

Repository files navigation

EBNF Tools for Visual Studio Code

EBNF Tools is a Visual Studio Code extension that adds robust language support for the Extended Backus-Naur Form (EBNF) syntax notation. This tool is designed to enhance your EBNF development workflow, offering features such as syntax highlighting, bracket matching, symbol renaming, and more.

For updates and future improvements, see the changelog.

Features

The EBNF Tools extension currently offers the following features:

  • Syntax highlighting (colorization): Adds color to your EBNF syntax, making it easier to read and understand your code.

Syntax highlighting

  • Syntax highlighting in Markdown fenced code blocks: Allows you to include EBNF code in your Markdown files with the same colorization as in your .ebnf files.

Syntax highlighting in Markdown fenced code blocks

  • Commenting blocks of code: Quickly comment out blocks of EBNF code.

Commenting blocks of code

  • Bracket matching: Easily match brackets and braces in your EBNF code.

Bracket matching

  • Rename symbol: Rename symbols throughout your EBNF code.

Rename symbol

  • Go to Definition and Peek Definition: Quickly navigate to the definition of a symbol in your EBNF.

Go to Definition

  • Code folding (by markers): Hide sections of your EBNF code for easier reading and navigation.

Code folding (by markers)

  • Find All References: Find every reference to a specific symbol in your EBNF code.

Find All References

  • Formatting: Automatically format your EBNF code to adhere to a specific style or standard.

Formatting

Contributing

We welcome contributions to the EBNF Tools project. If you want to contribute, please first read our contribution guidelines.

License

This project is licensed under the terms of the MIT license.