1
0
mirror of https://github.com/golang/go synced 2024-11-19 00:54:42 -07:00
go/internal/lsp/source
Rebecca Stambler 38d8bcfa38 internal/lsp: don't show diagnostics for mod files
The Go file changes didn't actually check the file extensions for the
files the Go extension is receiving. This error was not noticed because
the VSCode extension doesn't yet actually send mod files to gopls yet,
but it will in its next release.

Fixes golang/go#32178

Change-Id: Ia04d0a92ce7df13fcf4c601421bc000d69855f6d
Reviewed-on: https://go-review.googlesource.com/c/tools/+/178679
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-05-23 17:46:34 +00:00
..
analysis.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +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: don't show diagnostics for mod files 2019-05-23 17:46:34 +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: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +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: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +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: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00