go/internal/lsp
ye.sijun 72cd390b55 x/tools: improving the error message for check fact type
Fixes golang/go#50235

Change-Id: Ic9f61cb61fbf1e2cd198cc5d20bcba794c3181dc
GitHub-Last-Rev: 32d212d858102507ab6d6e510264feca9b78787e
GitHub-Pull-Request: golang/tools#356
Reviewed-on: https://go-review.googlesource.com/c/tools/+/374016
Reviewed-by: Alan Donovan <alan@alandonovan.net>
Run-TryBot: Tim King <taking@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Tim King <taking@google.com>
Trust: Keith Randall <khr@golang.org>
2022-01-04 19:51:13 +00:00
..
analysis gopls/doc: fix rendering of example for the infertypeargs analyzer 2021-12-03 18:55:11 +00:00
browser
cache x/tools: improving the error message for check fact type 2022-01-04 19:51:13 +00:00
cmd internal/lsp: normalize interface{} to any in test comparisons 2021-12-09 13:40:01 +00:00
command internal/lsp/command: fix typo in comment 2021-09-19 16:34:52 +00:00
debug internal/lsp/debug: improve readability of session options 2021-09-28 20:53:23 +00:00
diff
fake /internal/lsp/source: apply directory filters to workspace symbols 2021-10-30 12:32:06 +00:00
fuzzy internal/lsp/fuzzy: add a new fuzzy matcher optimized for Go symbols 2021-08-09 20:21:06 +00:00
helper internal/lsp/protocol: update LSP definitions and stubs 2021-10-05 16:44:45 +00:00
lsppos internal/lsp/source: compute imports text edits from scratch 2021-07-22 17:13:07 +00:00
lsprpc internal/lsp/lsprpc: increase timeout for TestEnvForwarding 2021-11-11 03:25:14 +00:00
mod internal/lsp: in degraded mode, limit the workspace to active packages 2021-07-26 20:36:31 +00:00
progress internal/lsp: move the progress tracker to the session 2021-06-16 01:01:29 +00:00
protocol internal/lsp/protocol: fix whitespace in comments 2021-12-01 19:09:57 +00:00
regtest /internal/lsp/source: apply directory filters to workspace symbols 2021-10-30 12:32:06 +00:00
snippet internal/lsp/source/completion: add postfix snippet completions 2021-03-29 17:27:46 +00:00
source gopls/doc: use improved code generator for API doc 2021-12-16 11:15:33 +00:00
template internal/lsp/template: add missed hover cases 2021-12-07 22:04:29 +00:00
testdata all: prepare for formatting any as 'any' in type strings 2021-11-16 14:26:19 +00:00
tests internal/lsp: normalize interface{} to any in test comparisons 2021-12-09 13:40:01 +00:00
README.md
call_hierarchy.go
code_action.go internal/lsp: return all code action kinds with context.only prefix 2021-11-09 16:15:23 +00:00
code_lens.go internal/lsp: switch to the new command API 2021-02-09 22:09:28 +00:00
command.go internal/lsp/source: consider test variants when finding pkg from pos 2021-09-08 14:51:59 +00:00
completion.go internal/lsp/template: implement completions for template files 2021-09-14 19:06:02 +00:00
completion_test.go internal/lsp/completion: move postfix completions behind option 2021-03-29 18:55:49 +00:00
debounce.go internal/lsp: adopt bcmills' suggestion for an improved debouncer API 2021-07-13 16:40:23 +00:00
debounce_test.go internal/lsp: adopt bcmills' suggestion for an improved debouncer API 2021-07-13 16:40:23 +00:00
definition.go internal/lsp: check for invalid URIs in definition 2021-10-29 19:33:54 +00:00
diagnostics.go internal/lsp/diagnostics: avoid erroneous error message for orphaned files 2021-09-20 15:08:51 +00:00
folding_range.go
format.go
general.go all: update install commands to go install pkg@version 2021-10-27 02:41:01 +00:00
highlight.go internal/lsp: support template files 2021-05-05 01:45:45 +00:00
hover.go internal/lsp: support template files 2021-05-05 01:45:45 +00:00
implementation.go
link.go
lsp_test.go internal/lsp: temporarily strip subscripts from generic hover 2021-10-23 12:53:38 +00:00
references.go internal/lsp: support template files 2021-05-05 01:45:45 +00:00
rename.go
reset_golden.sh
semantic.go internal/lsp: do not send semantic tokens that client doesn't support 2021-10-26 18:33:39 +00:00
server.go internal/lsp: add a setting to batch didChangeWatchedFile notifications 2021-07-08 19:55:54 +00:00
server_gen.go internal/lsp/protocol: bring the LSP stubs up to date 2021-12-01 15:05:46 +00:00
signature_help.go internal/lsp: update to latest version of LSP protocol 2021-02-02 11:32:59 +00:00
symbols.go internal/lsp: support template files 2021-05-05 01:45:45 +00:00
text_synchronization.go internal/lsp: signal diagnostic completion if modification failed 2021-07-13 20:49:08 +00:00
workspace.go internal/lsp: report used semantic token order in registerCapability 2021-05-19 16:08:23 +00:00
workspace_symbol.go

README.md

lsp

internal/lsp provides much of the Language Server Protocol (lsp) implementation for gopls.

Documentation for users and contributors can be found in the gopls/doc directory.