https://plugins.jetbrains.com/plugin/24642-caddyfile
-
Find Usage
andGo To Declaration
for matchers - Add documentation dialog for directives and matchers
- Lack of testing, only tested with simple Caddyfiles
- ICON file may violate legal issue
- ICON file is copied from https://github.com/caddyserver/caddy/blob/master/README.md, and modified to remove text
- Install Grammar-Kit plugin
- Install Plugin DevKit plugin
- Open Caddyfile.simple.bnf, right-click on the editor and select "Generate Parser Code"
- Open Caddyfile.simple.flex,
right-click on the editor and select "Run JFlex Generator"
- At first time generation, you will be prompted to install
JFlex plugin
- At first time generation, you will be prompted to install
- Run Gradle task
intellij/runIde
to run- Or run
intellij/buildPlugin
to build this plugin, and installable zip file will be located at build/distributions
- Or run