tools/internal/lsp
Edward Muller 1a55b1581c internal/lsp/source: move the common path to the left
As per the following guidance: "Try to keep the normal code path at a minimal indentation"

I know this is normally applied to error handling, but the same logic about improving readability applies here too.

Change-Id: Ib20dae9975e94b40fb6ff7049782375b18ef59ba

Change-Id: Ib20dae9975e94b40fb6ff7049782375b18ef59ba
GitHub-Last-Rev: 97919272de76ec15845556e032985c5969a277fa
GitHub-Pull-Request: golang/tools#125
Reviewed-on: https://go-review.googlesource.com/c/tools/+/183698
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
2019-06-27 17:56:40 +00:00
..
browser internal/lsp: add version and bug commands 2019-05-11 04:16:02 +00:00
cache Revert "internal/lsp: modify check for a missing package" 2019-06-27 17:28:06 +00:00
cmd internal/lsp: support a file belonging to multiple packages 2019-06-26 17:56:19 +00:00
debug internal/lsp: add telemetry stubs 2019-06-24 18:10:36 +00:00
diff internal/lsp: enable incrementalSync by default 2019-06-26 20:40:24 +00:00
protocol internal/jsonrpc2: refactor to enable a more advanced request 2019-06-27 03:33:22 +00:00
snippet internal/lsp: introduce snippet builder object 2019-04-25 18:37:29 +00:00
source internal/lsp/source: move the common path to the left 2019-06-27 17:56:40 +00:00
telemetry internal/lsp: add telemetry stubs 2019-06-24 18:10:36 +00:00
testdata internal/lsp: improve completion support for type assertions 2019-06-26 23:33:08 +00:00
tests internal/lsp: improve completion support for type assertions 2019-06-26 23:33:08 +00:00
xlog internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
code_action.go internal/lsp: plumb suggested fixes through the LSP 2019-06-26 21:02:18 +00:00
completion.go internal/lsp: separate refactorings out of memoization CL 2019-06-25 16:04:30 +00:00
definition.go internal/lsp: attach documentation to signature help 2019-06-06 17:46:28 +00:00
diagnostics.go internal/lsp: plumb suggested fixes through the LSP 2019-06-26 21:02:18 +00:00
format.go internal/lsp: separate refactorings out of memoization CL 2019-06-25 16:04:30 +00:00
general.go internal/lsp: enable incrementalSync by default 2019-06-26 20:40:24 +00:00
highlight.go internal/lsp: separate refactorings out of memoization CL 2019-06-25 16:04:30 +00:00
hover.go internal/lsp: attach documentation to signature help 2019-06-06 17:46:28 +00:00
link.go internal/lsp: separate refactorings out of memoization CL 2019-06-25 16:04:30 +00:00
lsp_test.go internal/lsp: support a file belonging to multiple packages 2019-06-26 17:56:19 +00:00
references.go internal/lsp: support a file belonging to multiple packages 2019-06-26 17:56:19 +00:00
rename.go internal/lsp: separate refactorings out of memoization CL 2019-06-25 16:04:30 +00:00
reset_golden.sh internal/lsp: fix definition tests to use golden files 2019-05-10 21:06:55 +00:00
server.go internal/lsp: add identifier renaming 2019-06-19 21:54:42 +00:00
signature_help.go internal/lsp: reply with nil, rather than empty, signature help 2019-06-08 02:21:20 +00:00
symbols.go internal/lsp: separate refactorings out of memoization CL 2019-06-25 16:04:30 +00:00
text_synchronization.go internal/lsp: enable incrementalSync by default 2019-06-26 20:40:24 +00:00
util.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
workspace.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00