Editor support (goozels)
goozels is the Language Server for Gooze. It runs in front of gopls, so you keep all your normal Go features and get Gooze ones on top — autocompletion, hovers, live validation, and one-click mutation runs.
What you get
- Completion, hover docs, and a warning for unknown names inside
//gooze:ignorecomments. - Key/value completion, hover, and validation for your
gooze.yamlconfig. - ▶ gooze run, gooze list, and 📊 gooze report code lenses at the top of every Go file.
- Mutation scores from your reports shown inline after a run.
What you need
- Go installed on your machine.
goplson yourPATH:
go install golang.org/x/tools/gopls@latestGooze itself is only needed for the run / report actions.
Install goozels
go install gooze.dev/pkg/goozels/cmd/goozels@latestThis puts a goozels binary in your Go bin directory. goozels finds gopls and gooze on your PATH automatically.
VS Code
Tell the Go extension to launch goozels instead of gopls (it proxies gopls for you):
{
"go.alternateTools": {
"gopls": "goozels"
}
}Neovim
Point your Go LSP config at the goozels binary instead of gopls, and attach it to gooze config files. See editors/neovim.md.
JetBrains (GoLand / IntelliJ)
Register goozels through the LSP4IJ plugin. See editors/jetbrains.md.