tools/go/analysis
Michael Matloob 6fea9ef05e go/analysis: add SuggestedFix to Diagnostic
This change is uploaded for discussion.

This adds a SuggestedFix field to Diagnostic that can be used
to prepare refactorings or to surface fixes for diagnostics
when they're shown by the LSP.

Change-Id: Icad3bb78540b55df1707955139c889f612d1084f
Reviewed-on: https://go-review.googlesource.com/c/tools/+/181941
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dominik Honnef <dominik@honnef.co>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-06-17 17:13:25 +00:00
..
analysistest go/analysis: add an End field to Diagnostic 2019-05-30 17:14:27 +00:00
cmd/vet go/analysis/passes: fix bugs discovered in std 2019-05-09 15:32:22 +00:00
internal go/analysis: add an End field to Diagnostic 2019-05-30 17:14:27 +00:00
multichecker go/analysis/unitchecker: a main function for vet-lite tools 2018-11-15 16:00:22 +00:00
passes go/analysis/passes/composite: whitelist unicode.Range32 2019-06-13 20:42:42 +00:00
singlechecker go/analysis/singlechecker: use Stderr in flag.Usage 2019-02-14 16:35:53 +00:00
unitchecker go/analysis/unitchecker: allow dash in file paths 2019-03-30 18:03:04 +00:00
analysis.go go/analysis: add SuggestedFix to Diagnostic 2019-06-17 17:13:25 +00:00
diagnostic.go go/analysis: add SuggestedFix to Diagnostic 2019-06-17 17:13:25 +00:00
diagnostic_experimental.go go/analysis: add SuggestedFix to Diagnostic 2019-06-17 17:13:25 +00:00
doc.go go/analysis: fix typos and update documentation 2019-01-11 18:03:38 +00:00
validate.go go/analysis: validate: report duplicates among analyzers (roots) 2018-10-11 19:55:00 +00:00