go/gopls/doc
Chitoku e7de6523a2 internal/lsp: produce "method" in place of "member" as per the spec
As per the current specification, the correct token name that represents methods is `method`. The current implementation does not produce the correct set of result and results in methods being incorrectly highlighted. Furthermore, the parameter names of interface methods are treated as `method` which is not true, so a fix has been applied to handle `ast.FuncType` being `parameter`.

Spec: https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#textDocument_semanticTokens

Change-Id: Id5d2fafe9f948a4a175ae19b4c94cca8f48a4b79
GitHub-Last-Rev: 9a3b65ca4dd3bb0542969c043a2042001c7fcb63
GitHub-Pull-Request: golang/tools#340
Reviewed-on: https://go-review.googlesource.com/c/tools/+/349449
Run-TryBot: Peter Weinberger <pjw@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Rebecca Stambler <rstambler@golang.org>
Trust: Peter Weinberger <pjw@google.com>
Reviewed-by: Peter Weinberger <pjw@google.com>
2021-09-13 21:01:54 +00:00
..
design gopls/doc: clean up and slightly reorganize documentation 2021-01-14 06:55:38 +00:00
advanced.md gopls/doc: update generic code section of advanced.md 2021-09-03 17:12:04 +00:00
analyzers.md go/analysis/passes/fieldalignment: clarify reported diagnostics in docs 2021-04-27 20:55:22 +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 tools/gopls: small fixes to contributing.md 2021-06-25 15:05:05 +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 internal/lsp/command: add missing doc and support for result parameters 2021-06-11 15:30:39 +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