sbt/protocol/src/main/contraband
wpopielarski 73b0034cfc textDocument/definition for LSP / VS Code
This is an implementation of `textDocument/definition` request.
Supports types only, and only in case when type is found in Zinc Analysis. When source(s) are found then editor opens potential source(s).
This simple implementation does not use semantic data.

During the processing of `textDocument/didSave`, we will start collecting the location of Analysis files via `lspCollectAnalyses`.
Later on, when the user asked for `textDocument/definition`, sbt server will invoke a Future call to lspDefinition, which direct reads the files to locate the definition of a class.
2017-11-28 13:27:07 -05:00
..
jsonrpc.contra begins language server protocol 2017-10-02 04:01:13 -04:00
lsp.contra textDocument/definition for LSP / VS Code 2017-11-28 13:27:07 -05:00
portfile.contra begins language server protocol 2017-10-02 04:01:13 -04:00
server.contra implement tokenfile authentication 2017-09-21 23:05:48 -04:00