go-struct-analyzer v2.0.4
Go struct field alignment analyzer with exact fieldalignment parity.
Ships as CLI (gsa-lsp analyze) and LSP server (gsa-lsp lsp) for
editor integration.
Full documentation: https://padiazg.github.io/go-struct-analyzer
Quick Start
-
Install & verify the LSP server:
go install github.com/padiazg/go-struct-analyzer/v2/cmd/gsa-lsp@v2.0.4 gsa-lsp analyze struct.go # CLI analysis gsa-lsp lsp # LSP mode (stdin/stdout)
-
VS Code: install "Go Struct Analyzer" from the
VS Code Marketplace
or Open VSX. -
Other LSP editors (Neovim, Helix, etc.): configure
gsa-lsp lsp
as a language server — see docs for setup guides.
Changelog
Features
- 5eb004d: feat!: migrate to Go LSP backend with exact fieldalignment parity (@padiazg)
- dc548c9: feat(analyzer): replace pointer class heuristic with precise ptrdata (@padiazg)
- 8ba48f1: feat(vscode): add server version check and migrate install to curl (@padiazg)
Others
- 4029e0a: Add Contributing guidelines (@padiazg)
- 5905c14: Add Contributor Covenant Code of Conduct (#7) (@padiazg)
- 13a9573: Add debug command to track permission issue at CI workflow (@padiazg)
- de07808: Enable full release (@padiazg)
- c8111c6: Fix permission error at Ci workflow (@padiazg)
- 8840480: Fix to missing gsa-lsp binary at CI workflow (@padiazg)
- 1647cf0: LSP support - Zed (@padiazg)
- a6b8226: LSP support - emacs & neovim (@padiazg)
- a1d31fc: LSP support - emacs documentation (@padiazg)
- 4b880f0: More permission at CI workflow (@padiazg)
- 139f0a5: Preflight fixes (@padiazg)
- dd67189: added docs workflow, updated release header & footer (@padiazg)
- f08d1ab: added missing RELEASING.md link (@padiazg)
- 21b3696: code cleanup (@padiazg)
- 9682830: fix badge links (@padiazg)
- 3e50dcf: fix goreleaser settings (@padiazg)
- fc1bc70: fix link to RELEASING.md (@padiazg)
- d53ff96: fix release workflow file (@padiazg)
- 08c7625: fix wrong case for README.md (@padiazg)
- 975ceae: fixed docs source issues (@padiazg)
- 2b482c4: fixed docs build warnings (@padiazg)
- 03c52ad: fixed gitignote rule for README.md (@padiazg)
- e952fcf: fox goreleaser settings (@padiazg)
- 9d5d54f: minor cosmetic change to install script (@padiazg)
- 6fb7995: moved go.mod to the project's root (@padiazg)
- 62bec55: refactor to align to go releases standad (@padiazg)
- 272b0e4: refactor: move main.go to cmd/gsa-lsp for proper binary naming (@padiazg)
- c1b59d5: removen wrong parameter for goreleaser (@padiazg)
- b8b2b2f: restructure files to simplify go install (@padiazg)
- a64b1ad: temporarily disable release to marketplaces (@padiazg)
- 466d235: updated changelod and readme (@padiazg)
- deaa7dd: updated module versioning trying to fix go install (@padiazg)
- 0e2daa8: updated versioning for RC (@padiazg)
- e676854: vscode inline hints fix (@padiazg)
Full Changelog: v1.2.0...v2.0.4
Docs: https://padiazg.github.io/go-struct-analyzer