1
0
mirror of https://github.com/golang/go synced 2024-10-01 10:38:33 -06:00
go/internal/lsp/protocol
Rebecca Stambler 34437f544f internal/lsp: refactor server.go to separate into LSP categories
This change separates the different behaviors of server.go by the
categories defined in the spec. This allows us to differentiate more
easily between the language features and the text synchronization code.

I also renamed the "Symbols" function to "Symbol", which fits with the
specification
(https://microsoft.github.io/language-server-protocol/specification#workspace_symbol),
and makes clearer the distinction between DocumentSymbols and Symbol.

Change-Id: I926b8a772c478f6ae426352fb12dc4403f0e736a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/172637
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-04-17 20:54:51 +00:00
..
typescript tools/internal/lsp/protocol: generate LSP protocol types from source 2019-03-12 15:15:45 +00:00
client.go internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
doc.go internal/lsp: the core lsp protocol 2018-09-25 15:17:08 +00:00
enums.go internal/lsp: switch completion item tests to using the enum strings 2019-04-17 17:57:43 +00:00
log.go internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
protocol.go internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
server.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
span.go internal/span: span to protocol needs position as well as offset 2019-04-02 16:07:49 +00:00
tsprotocol.go cmd/gopls: fix incomplete ClientCapabilities struct 2019-04-09 15:09:02 +00:00