1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:54:42 -07:00
go/internal/lsp/source
Muir Manders 49b8ac185c internal/lsp/cache: add file contents to ParseGoHandle
Currently there is no need for this because the file contents are part
of the file handle. This change is in preparation for an impending
improvement that tweaks the source code during the parse stage to fix
certain kind of terminal parse errors. Any code that wants to use
an *ast.File or *token.File in conjunction with the file contents
needs access to the doctored source code so things line up.

Change-Id: I59d83d3d6150aa1264761aa2c1f6c1269075a2ce
Reviewed-on: https://go-review.googlesource.com/c/tools/+/218979
Run-TryBot: Muir Manders <muir@mnd.rs>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-02-13 05:05:14 +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_builtin.go internal/lsp/source: improve completion for "make()" args 2020-02-02 23:20:50 +00:00
completion_format.go internal/lsp: support multi-dereferencing completion candidates 2020-02-11 04:52:51 +00:00
completion_keywords.go internal/lsp: sort by label after score 2019-12-30 21:11:21 +00:00
completion_labels.go internal/lsp: sort by label after score 2019-12-30 21:11:21 +00:00
completion_literal.go internal/lsp: fix crash completing recursive pointer types 2020-02-07 22:44:06 +00:00
completion_snippet.go internal/lsp: merge completion options into source.Options 2020-01-13 20:09:44 +00:00
completion.go internal/lsp/cache: add file contents to ParseGoHandle 2020-02-13 05:05:14 +00:00
deep_completion.go internal/lsp/source: improve completion involving multiple return values 2020-02-06 05:07:08 +00:00
diagnostics.go internal/lsp/cache: add file contents to ParseGoHandle 2020-02-13 05:05:14 +00:00
errors.go internal/lsp: remove the checkErrors command in internal/lsp/source 2020-01-24 21:19:55 +00:00
folding_range.go internal/lsp/cache: add file contents to ParseGoHandle 2020-02-13 05:05:14 +00:00
format_test.go internal/lsp/source: trim file very carefully 2020-01-17 20:34:13 +00:00
format.go internal/lsp/cache: add file contents to ParseGoHandle 2020-02-13 05:05:14 +00:00
highlight.go internal/lsp/cache: add file contents to ParseGoHandle 2020-02-13 05:05:14 +00:00
hover.go internal/lsp/source: export FindFileInpackage 2020-02-07 21:55:11 +00:00
identifier.go internal/lsp/cache: add file contents to ParseGoHandle 2020-02-13 05:05:14 +00:00
implementation.go internal/lsp/cache: add file contents to ParseGoHandle 2020-02-13 05:05:14 +00:00
options.go internal/lsp: disable nilness analyzer, unless staticcheck enabled 2020-02-11 20:49:38 +00:00
references.go internal/lsp: don't return references for builtins 2020-02-06 19:49:06 +00:00
rename_check.go internal/lsp: improve literal func completion candidates 2019-11-07 21:18:00 +00:00
rename.go internal/lsp: permit renaming symbols declared in other packages 2020-01-27 18:56:10 +00:00
signature_help.go internal/lsp/cache: add file contents to ParseGoHandle 2020-02-13 05:05:14 +00:00
source_test.go internal/lsp: export DiffSymbols to avoid duplication 2020-02-06 20:09:13 +00:00
symbols.go internal/lsp/cache: add file contents to ParseGoHandle 2020-02-13 05:05:14 +00:00
util.go internal/lsp/cache: add file contents to ParseGoHandle 2020-02-13 05:05:14 +00:00
view.go internal/lsp/cache: add file contents to ParseGoHandle 2020-02-13 05:05:14 +00:00
workspace_symbol.go internal/lsp/cache: add file contents to ParseGoHandle 2020-02-13 05:05:14 +00:00