1
0
mirror of https://github.com/golang/go synced 2024-11-18 19:54:44 -07:00
go/internal/lsp/source
Rohan Challa 3aa5a36464 internal/lsp: add gopls setting to disable use of -modfile flag behavior
This CL adds a "disableTempModfile" boolean that can be turned on or off.
While we are adding support for go.mod files in gopls, this flag will allow
users to opt out of using the -modfile flag that is enabled in Go 1.14. This
flag might be removed at a future point, the decision still needs to be made.

Updates golang/go#31999

Change-Id: Ic90229333e988fcc6d461ab1ee47bce1114bd965
Reviewed-on: https://go-review.googlesource.com/c/tools/+/212139
Run-TryBot: Rohan Challa <rohan@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-12-19 18:11:24 +00:00
..
comment_test.go internal/lsp: convert comments to markdown before sending to client 2019-10-04 18:35:38 +00:00
comment.go internal/lsp: convert comments to markdown before sending to client 2019-10-04 18:35:38 +00:00
completion_format.go internal/lsp/source: extract helper, improve error messages 2019-12-04 19:34:30 +00:00
completion_keywords.go internal/lsp: suggest "fallthrough" only inside switches 2019-12-10 22:10:49 +00:00
completion_labels.go internal/lsp: fix label completion in range and type switch stmts 2019-10-22 21:33:09 +00:00
completion_literal.go internal/lsp: remove useless signature cast completion candidate 2019-12-16 05:27:35 +00:00
completion_snippet.go internal/lsp: reorganize and refactor code 2019-11-21 02:33:28 +00:00
completion.go internal/lsp: offer basic type conversion candidates 2019-12-12 22:41:01 +00:00
deep_completion.go internal/lsp/source: attach Package to completions when available 2019-11-05 20:21:09 +00:00
diagnostics.go go/packages: change import cycle errorkind from UnknownError to ListError 2019-12-19 18:10:03 +00:00
errors.go internal/lsp: use the -modfile flag to update a different go.mod file 2019-12-17 22:15:16 +00:00
folding_range.go internal/lsp: rename CheckPackageHandle to PackageHandle 2019-12-02 18:29:46 +00:00
format.go internal/lsp/source: fix crash on conflict markers in imports 2019-12-16 23:08:29 +00:00
highlight.go internal/lsp: skip return highlighting if cursor is in arglist of func 2019-12-13 22:12:58 +00:00
hover.go internal/lsp: show comments for grouped variable declarations 2019-12-18 20:39:36 +00:00
identifier.go internal/lsp: kill some dead code 2019-12-17 19:30:50 +00:00
implementation.go internal/lsp: fix find-implementation for promoted methods 2019-12-16 21:36:29 +00:00
options.go internal/lsp: add gopls setting to disable use of -modfile flag behavior 2019-12-19 18:11:24 +00:00
references.go internal/lsp: respect References.IncludeDeclaration setting 2019-12-06 20:05:57 +00:00
rename_check.go internal/lsp: improve literal func completion candidates 2019-11-07 21:18:00 +00:00
rename.go internal/lsp: kill some dead code 2019-12-17 19:30:50 +00:00
signature_help.go internal/lsp/source: extract helper, improve error messages 2019-12-04 19:34:30 +00:00
source_test.go internal/lsp: return snapshots from text modifications 2019-12-18 22:53:40 +00:00
suggested_fix.go internal/lsp: move error range computations into cache package 2019-10-21 22:12:58 +00:00
symbols.go internal/lsp: propagate errors through source.DocumentSymbols 2019-12-05 01:21:29 +00:00
tidy.go internal/lsp: use the -modfile flag to update a different go.mod file 2019-12-17 22:15:16 +00:00
util.go internal/lsp: improve link in documentation on hover 2019-12-12 22:39:21 +00:00
view.go internal/lsp: return snapshots from text modifications 2019-12-18 22:53:40 +00:00