1
0
mirror of https://github.com/golang/go synced 2024-09-30 22:58:34 -06:00
go/internal/lsp
Ian Cottrell 4b1f3b6b16 internal/lsp: make format work on the ast not the source
This makes the format code use the AST that is already cached on the file to do
the formatting. It also moves the core format code into the source directory.

Change-Id: Iaa79169708e92525cce326ea094ab98144fe1011
Reviewed-on: https://go-review.googlesource.com/c/148198
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2018-11-12 21:02:38 +00:00
..
protocol internal/lsp: add implementation of completion to LSP 2018-11-06 21:04:51 +00:00
source internal/lsp: make format work on the ast not the source 2018-11-12 21:02:38 +00:00
testdata internal/lsp: add a preliminary test for completion 2018-11-12 19:56:38 +00:00
completion.go internal/lsp: add a preliminary test for completion 2018-11-12 19:56:38 +00:00
diagnostics.go internal/lsp: implement go to definition 2018-11-07 18:43:41 +00:00
lsp_test.go internal/lsp: add a preliminary test for completion 2018-11-12 19:56:38 +00:00
position.go internal/lsp: make format work on the ast not the source 2018-11-12 21:02:38 +00:00
server.go internal/lsp: make format work on the ast not the source 2018-11-12 21:02:38 +00:00