Start working on a better proccess JSON RPC

This commit is contained in:
Alexandros Naskos
2020-06-30 01:34:21 +03:00
parent 6953ff95eb
commit ddcf6c677b
4 changed files with 608 additions and 421 deletions

View File

@@ -358,9 +358,21 @@ const SymbolKind = enum {
};
pub const DocumentSymbol = struct {
name: String, detail: ?String = null, kind: SymbolKind, deprecated: bool = false, range: Range, selectionRange: Range, children: []DocumentSymbol = &[_]DocumentSymbol{}
name: String,
detail: ?String = null,
kind: SymbolKind,
deprecated: bool = false,
range: Range,
selectionRange: Range,
children: []DocumentSymbol = &[_]DocumentSymbol{},
};
pub const ShowMessageParams = struct {
type: MessageType, message: String
type: MessageType,
message: String,
};
pub const WorkspaceFolder = struct {
uri: DocumentUri,
name: String,
};