go/gopls/doc
Francesco Renzi b98090b833 internal/lsp/analysis/implementmissing: add analyzer
This adds an analyzer that provides suggested fixes for undeclared name
errors on function calls, implementing a stub of the fuction (with an
empty body). As of now this doesn't try to guess returned types but
only parameters.
Generated functions are appended at the end of the file where these type
errors occur.

Updates golang/go#47558

Change-Id: Iaef45ada6b7b73de1fbe42e5f7e334512b65e6c7
Reviewed-on: https://go-review.googlesource.com/c/tools/+/348829
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Trust: Rebecca Stambler <rstambler@golang.org>
Trust: Peter Weinberger <pjw@google.com>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
2021-09-21 20:35:14 +00:00
..
design gopls/doc: clean up and slightly reorganize documentation 2021-01-14 06:55:38 +00:00
advanced.md gopls/doc: remove -tags=typeparams from generic build instructions 2021-09-15 14:06:14 +00:00
analyzers.md internal/lsp/analysis/implementmissing: add analyzer 2021-09-21 20:35:14 +00:00
command-line.md gopls/doc: clean up and slightly reorganize documentation 2021-01-14 06:55:38 +00:00
commands.md internal/lsp/command: minor clean-up of StartDebugging description 2021-06-11 16:06:07 +00:00
contributing.md gopls/doc: add instructions for the new "kokoro rerun" feature 2021-09-20 19:55:18 +00:00
daemon.md gopls/doc: clarify how to set remote.listen.timeout 2021-03-08 14:22:49 +00:00
emacs.md Update emacs.md - add .dir-locals.el example 2021-03-19 04:40:15 +00:00
features.md gopls/doc: clean up and slightly reorganize documentation 2021-01-14 06:55:38 +00:00
generate.go gopls/api-diff: create api-diff command for gopls api 2021-09-17 17:58:44 +00:00
generate_test.go gopls/doc: generate JSON too, store as composite literal 2020-12-03 20:21:02 +00:00
semantictokens.md internal/lsp: produce "method" in place of "member" as per the spec 2021-09-13 21:01:54 +00:00
settings.md gopls: consistently capitalize enum variants for symbolStyle 2021-09-03 18:04:29 +00:00
subl.md gopls/doc: add vetted examples for Sublime Text 2021-07-13 20:15:39 +00:00
troubleshooting.md gopls: merge README and user.md 2021-01-21 18:28:06 +00:00
vim.md gopls/doc: fix imports function for Neovim LSP 2021-07-15 13:35:41 +00:00
workspace.md gopls/doc: fix broken link 2021-04-26 16:33:22 +00:00