You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EDIT 3: All of my whole day of confusion (see below) could have been prevented by simply stating:
This is a caddy plugin. Install it into caddy using a custom xcaddy build or https://caddyserver.com/download, then run the following command: caddy json-schema
This will generate the JSON schema for caddy-core and the plugins you have installed alongside it.
The generated JSON file can be imported to some IDEs.
For syntax help, use caddy help json-schema
My original message:
Same.
I expected a file to put into my Jetbrains IDE, but there is only a weird script and instructions for VS Code and vim :(
Do I have to install an learn the whole Go ecosystem so I can generate a simple file?
Am I supposed to regenerate the schema every time I add a plugin to caddy?
EDIT: I took a deeper look at the repo and the issues, and now I have even less idea what am I looking at and where to start. All I want is some simple code completion into some easy to set up IDE or Notepad++ to get started.
EDIT 2: After much-much searching, I came to the conclusion that this is a caddy plugin, and I am somehow supposed to add it to my caddy installation and run it there. Wasted several hours and I still don't have code completion.
Relevant discussion with the caddy dev: https://caddy.community/t/adding-json-schema-to-schemastore-org/25925/4
And where do we use this. I am utterly confused about the usage of this
The text was updated successfully, but these errors were encountered: