1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:24:39 -07:00
go/internal/lsp/cache
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
..
cache.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
check.go internal/lsp: don't show diagnostics for mod files 2019-05-23 17:46:34 +00:00
file.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
parse.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
pkg.go internal/lsp: reduce the api surface of the cache package 2019-05-15 16:36:46 +00:00
session.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
view.go internal/lsp: don't show diagnostics for mod files 2019-05-23 17:46:34 +00:00