Directories ¶
Path | Synopsis |
---|---|
Invoke with //go:generate helper/helper -t Server -d protocol/tsserver.go -u lsp -o server_gen.go invoke in internal/lsp
|
Invoke with //go:generate helper/helper -t Server -d protocol/tsserver.go -u lsp -o server_gen.go invoke in internal/lsp |
Package lsppos provides utilities for working with LSP positions.
|
Package lsppos provides utilities for working with LSP positions. |
Package protocol contains the structs that map directly to the wire format of the "Language Server Protocol".
|
Package protocol contains the structs that map directly to the wire format of the "Language Server Protocol". |
generate
GenLSP generates the files tsprotocol.go, tsclient.go, tsserver.go, tsjson.go that support the language server protocol for gopls.
|
GenLSP generates the files tsprotocol.go, tsclient.go, tsserver.go, tsjson.go that support the language server protocol for gopls. |
Package safetoken provides wrappers around methods in go/token, that return errors rather than panicking.
|
Package safetoken provides wrappers around methods in go/token, that return errors rather than panicking. |
up
|
|
span
Package span contains support for representing with positions and ranges in text files.
|
Package span contains support for representing with positions and ranges in text files. |
Click to show internal directories.
Click to hide internal directories.