This IntelliJ plugin adds support for validating YANG files. Developers and enthusiasts will have the option to validate their YANG files before deployment.
Note: Please note that the YANGinator plugin does not completely follow the rfc, because of performance, error recovery, comment support and other reasons. All these deviations are documented here
- Base validation for YANG 1.0 and YANG 1.1
- Syntax highlighting
- Auto completion
- Code folding (curly brackets, multi-line strings, multi-line comments)
- Commenting
- Paired brace matcher
- Breadcrumbs support
- Go to declaration
- Code formatting
Follow this tutorial IntelliJ Custom Language Support Tutorial to add custom lanugage support in IntelliJ.
The easiest way to find the Plugins window in IntelliJ, is by using the Search everywhere window (by default, double-tap the Shift key). Search for plugins.
You can also find YANGinator in the official IntelliJ Marketplace here.
In the newly opened Plugins window, search for YANGinator.
The YANGinator plugin will be enabled after restart.
-
Open any YANG file.
-
Open the Register New File Type Association window.
-
The easiest way to do so is, by using the Search Everywhere window.
Search for Associate with file type..
- Select Open matching files in IntelliJ IDEA:
- Select Yang
4.4 Press OK button.
YANGinator will be enabled by now. Enjoy!
If you found a bug, problem, or have an idea for a possible feature, create an Issue here.
Please browse the open issues before opening a new one.
6.1 If YANGinator helped you, consider giving the repository a star!