Supported file types: Caddyfile, Privoxy
https://plugins.jetbrains.com/plugin/24642-caddyfile
- Auto-completion for directives, sub-directives, matchers, snippets, placeholders
-
Find Usage
andGo To Declaration
for matchers, snippets - Add documentation dialog for directives, matchers, snippets
- Multi-files support
-
Find Usage
andGo To Declaration
for custom variables withvars
directive
- Global options block after any no-body directive will be interpolated as a directive block instead of a global block
-
# global block { debug } try_files # should be a global block, but here in PSI tree it is a directive block of `try_files` above { debug }
-
- 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