go/internal/lsp/source
Rob Findley 4c651fc1fc internal/lsp/source: add inferred types to generic function hover
As an experiment, this CL introduces the first gopls feature that is
specific to generics: enriching function hover information with inferred
types. This is done with no additional gating on build constraints by
using the new internal/typeparams package.

The marker tests are updated to allow tests that rely on type parameters
being enabled.

Change-Id: Ic627d64b61a6211389196814edd0abe1484491eb
Reviewed-on: https://go-review.googlesource.com/c/tools/+/317452
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2021-06-22 16:07:17 +00:00
..
completion lsp/completion: support completing to Elem() types 2021-06-09 15:58:30 +00:00
add_import.go internal/lsp: add list_known_packages and add_import commands 2021-05-23 03:57:00 +00:00
api_json.go internal/lsp/cache: don't delete metadata until it's reloaded 2021-06-16 00:19:40 +00:00
call_hierarchy.go internal/lsp: include function literals in outgoing call hierarchy 2021-06-01 22:58:04 +00:00
code_lens.go internal/lsp: switch to the new command API 2021-02-09 22:09:28 +00:00
comment.go internal/lsp/source: refactor commentToMarkdown function 2021-05-19 23:19:09 +00:00
comment_test.go internal/lsp/source: refactor commentToMarkdown function 2021-05-19 23:19:09 +00:00
diagnostics.go internal/lsp: fix support for SourceFixAll code actions 2021-03-24 23:51:27 +00:00
extract.go internal/lsp: change generated variable names to be more verbose 2021-06-09 14:15:55 +00:00
fix.go internal/lsp: fix support for SourceFixAll code actions 2021-03-24 23:51:27 +00:00
folding_range.go internal/lsp: fix folding range for block comments 2021-06-07 15:13:07 +00:00
format.go internal/lsp: address some staticcheck warning 2021-06-03 03:03:28 +00:00
format_test.go all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
gc_annotations.go internal/lsp: key GC details off package ID 2021-03-02 22:01:38 +00:00
highlight.go internal/lsp/source: fix Highlight for std and 3rd-party packages 2021-04-05 22:17:18 +00:00
hover.go internal/lsp/source: add inferred types to generic function hover 2021-06-22 16:07:17 +00:00
identifier.go internal/lsp/source: add inferred types to generic function hover 2021-06-22 16:07:17 +00:00
identifier_test.go internal/lsp: fix some incorrect spelling 2020-11-24 11:59:21 +00:00
implementation.go
known_packages.go internal/lsp: add list_known_packages and add_import commands 2021-05-23 03:57:00 +00:00
options.go internal/lsp/cache: don't delete metadata until it's reloaded 2021-06-16 00:19:40 +00:00
options_test.go internal/lsp: restructure user options (CL 278433 continued) 2020-12-30 21:54:22 +00:00
references.go internal/lsp/source: re-parse if needed when collecting identifier info 2021-05-18 02:12:20 +00:00
rename.go internal/lsp/source: make it an error to rename embedded fields 2021-01-26 13:52:46 +00:00
rename_check.go internal/lsp/source: eliminate GetTypeCheckDiagnostics 2021-03-03 21:21:28 +00:00
signature_help.go internal/lsp/source: re-parse if needed when collecting identifier info 2021-05-18 02:12:20 +00:00
source_test.go internal/lsp: add list_known_packages and add_import commands 2021-05-23 03:57:00 +00:00
symbols.go
types_format.go internal/lsp: address some staticcheck warning 2021-06-03 03:03:28 +00:00
util.go internal/lsp: add list_known_packages and add_import commands 2021-05-23 03:57:00 +00:00
view.go internal/lsp: move the progress tracker to the session 2021-06-16 01:01:29 +00:00
workspace_symbol.go internal/lsp/source: correct workspace symbol logic for unpacking receivers 2021-03-05 19:21:50 +00:00
workspace_symbol_test.go