go/internal/lsp/source
Rebecca Stambler a857023c21 internal/lsp: use protocol.Range for diagnostics instead of span.Span
This is the first in a series of many changes that will change the API
of the source package to use different types for positions. Using
token.Pos is particularly fragile, since the pos has to refer to the
specific *ast.File from which it was derived.

Change-Id: I70c9b806f7dd45b2e229954ebdcdd86e2cf3bbbb
Reviewed-on: https://go-review.googlesource.com/c/tools/+/190340
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-08-16 17:06:24 +00:00
..
analysis.go internal/lsp: label context cancellation errors 2019-08-15 23:24:24 +00:00
completion.go internal/lsp: propagate hoverKind to completion documentation 2019-08-15 23:26:00 +00:00
completion_format.go internal/lsp: propagate hoverKind to completion documentation 2019-08-15 23:26:00 +00:00
completion_snippet.go internal/lsp: provide deep completion candidates 2019-06-27 18:58:03 +00:00
deep_completion.go internal/lsp: don't deep complete struct field names 2019-08-13 21:38:55 +00:00
diagnostics.go internal/lsp: use protocol.Range for diagnostics instead of span.Span 2019-08-16 17:06:24 +00:00
diagnostics_test.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
enums.go internal/lsp: switch completion item tests to using the enum strings 2019-04-17 17:57:43 +00:00
format.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
highlight.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
hover.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
identifier.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
references.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
rename.go internal/lsp: return rename errors for one package only 2019-08-16 17:04:40 +00:00
rename_check.go internal/lsp: use memoize package to cache source.Packages 2019-08-13 21:41:43 +00:00
signature_help.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
source_test.go internal/lsp: use protocol.Range for diagnostics instead of span.Span 2019-08-16 17:06:24 +00:00
suggested_fix.go go/analysis: remove +experimental build tag from suggested fixes 2019-08-08 19:51:39 +00:00
symbols.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
util.go internal/lsp: show "do not edit" message when user opens generated file 2019-08-07 16:44:42 +00:00
view.go internal/lsp: show generated warning on didChange, not didOpen 2019-08-13 21:47:29 +00:00