1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:44:43 -07:00
go/internal/lsp/source
Rebecca Stambler 3d17549cdc internal/lsp: add modfile, sumfile structs, require Go files for diagnostics
This change adds a stub modFile struct for use in the future. It also
moves the singleDiagnostic function out into the lsp package, so that
the source package does not make decisions about what to show to the
user as a diagnostic.

Fixes golang/go#32221

Change-Id: I577c66fcd3c1daadaa221b52ff36bfa0fe07fb53
Reviewed-on: https://go-review.googlesource.com/c/tools/+/178681
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-05-24 21:02:28 +00:00
..
analysis.go internal/lsp: add modfile, sumfile structs, require Go files for diagnostics 2019-05-24 21:02:28 +00:00
completion_format.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
completion_snippet.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
completion.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
diagnostics_test.go internal/lsp: fix swallowed package errors 2019-05-17 18:33:31 +00:00
diagnostics.go internal/lsp: add modfile, sumfile structs, require Go files for diagnostics 2019-05-24 21:02:28 +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: add a file system abstraction 2019-05-24 13:48:47 +00:00
highlight.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
hover.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
identifier.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
signature_help.go internal/lsp: add nil checks for ASTs and token 2019-05-20 20:09:54 +00:00
source_test.go internal/lsp: add modfile, sumfile structs, require Go files for diagnostics 2019-05-24 21:02:28 +00:00
symbols.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
util.go internal/lsp: support definitions and hover for builtins 2019-05-17 00:35:10 +00:00
view.go internal/lsp: add modfile, sumfile structs, require Go files for diagnostics 2019-05-24 21:02:28 +00:00