- Go: Version
1.24.2or later. - Mise (Optional): A task runner used to orchestrate build pipelines.
- If you don't want to use it, check the
mise.tomlfor development commands.
- If you don't want to use it, check the
Clean imports, formatting, and standard layout settings:
mise run format
# Or manually:
# goimports -w . && go fmt ./...Downloads missing modules and prunes unused imports:
mise run tidy
# Or manually:
# go mod tidyRuns the complete unit testing suite covering parsing, stores, renames, completions, folding, and diagnostics:
mise run test
# Or manually:
# go test -v ./...Compiles the executable locally:
mise run buildCompiles and moves the binary to ~/go/bin/.
mise run installDeletes compiled local binaries and release distribution directories:
mise run cleanAdd this to your init.lua:
vim.lsp.set_log_level("debug")
-- This opens the log file in a split window
vim.cmd("edit " .. vim.lsp.get_log_path())If you have the nvim plugin installed, you can use this to print the state index content:
:XsmdDump