1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:14:41 -07:00
go/gopls/doc
Rohan Challa 099440627f internal/lsp: add goreturns like functionality as quickfix
This change ports the functionality of https://github.com/sqs/goreturns
to be used as code actions on diagnostics that have missing
return values. It improves on the original goreturns functionality by:

- filling out empty return statements
- trying to match existing return values to the required return
  values and then filling in missing parameters

Fixes golang/go#37091

Change-Id: Ifaf9bf571c3bc3c61e672b0a2f725d8d734d432d
Reviewed-on: https://go-review.googlesource.com/c/tools/+/224960
Run-TryBot: Rohan Challa <rohan@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-04-01 19:27:44 +00:00
..
acme.md cmd/gopls: add documentation 2019-08-27 15:23:08 +00:00
analyzers.md internal/lsp: add goreturns like functionality as quickfix 2020-04-01 19:27:44 +00:00
atom.md gopls/doc: add documentation for gopls with Atom 2019-11-27 06:49:51 +00:00
command-line.md gopls/doc: add and make minor changes to documentation 2019-09-16 01:38:12 +00:00
contributing.md gopls/doc: add and make minor changes to documentation 2019-09-16 01:38:12 +00:00
daemon.md gopls/doc: update daemon.md and remove 'experimental' caveats 2020-03-12 19:44:00 +00:00
design.md gopls/doc: minor fixes in design.md and implementation.md 2020-01-14 23:33:23 +00:00
emacs.md gopls/doc: expand Emacs docs 2019-11-12 19:56:55 +00:00
faq.md cmd/gopls: add documentation 2019-08-27 15:23:08 +00:00
implementation.md gopls/doc: minor fixes in design.md and implementation.md 2020-01-14 23:33:23 +00:00
integrating.md all: fix broken links to LSP specification 2019-10-02 18:32:53 +00:00
settings.md internal/lsp: change disabledAnalyses setting to be general 2020-03-26 19:30:34 +00:00
status.md gopls/doc: Clear out fixed issues 2020-02-24 23:14:51 +00:00
subl.md cmd/gopls: add documentation 2019-08-27 15:23:08 +00:00
troubleshooting.md gopls/doc: improve troubleshooting docs with specifics 2020-01-15 20:40:27 +00:00
user.md gopls/doc: document updating to an unstable version 2020-01-25 22:37:03 +00:00
vim.md gopls/doc: fix issue links for vim-lsc 2019-10-17 10:18:17 +00:00
vscode.md internal/lsp: support textDocument/formatting for .mod extension 2020-03-06 13:51:27 +00:00