async_lsp/
omni_trait_generated.rs1#[rustfmt::ignore]
4define! {
5 {
7 "textDocument/implementation", implementation;
8 "textDocument/typeDefinition", type_definition;
9 "textDocument/documentColor", document_color;
10 "textDocument/colorPresentation", color_presentation;
11 "textDocument/foldingRange", folding_range;
12 "textDocument/declaration", declaration;
13 "textDocument/selectionRange", selection_range;
14 "textDocument/prepareCallHierarchy", prepare_call_hierarchy;
15 "callHierarchy/incomingCalls", incoming_calls;
16 "callHierarchy/outgoingCalls", outgoing_calls;
17 "textDocument/semanticTokens/full", semantic_tokens_full;
18 "textDocument/semanticTokens/full/delta", semantic_tokens_full_delta;
19 "textDocument/semanticTokens/range", semantic_tokens_range;
20 "textDocument/linkedEditingRange", linked_editing_range;
21 "workspace/willCreateFiles", will_create_files;
22 "workspace/willRenameFiles", will_rename_files;
23 "workspace/willDeleteFiles", will_delete_files;
24 "textDocument/moniker", moniker;
25 "textDocument/prepareTypeHierarchy", prepare_type_hierarchy;
26 "typeHierarchy/supertypes", supertypes;
27 "typeHierarchy/subtypes", subtypes;
28 "textDocument/inlineValue", inline_value;
29 "textDocument/inlayHint", inlay_hint;
30 "inlayHint/resolve", inlay_hint_resolve;
31 "textDocument/diagnostic", document_diagnostic;
32 "workspace/diagnostic", workspace_diagnostic;
33 "textDocument/willSaveWaitUntil", will_save_wait_until;
34 "textDocument/completion", completion;
35 "completionItem/resolve", completion_item_resolve;
36 "textDocument/hover", hover;
37 "textDocument/signatureHelp", signature_help;
38 "textDocument/definition", definition;
39 "textDocument/references", references;
40 "textDocument/documentHighlight", document_highlight;
41 "textDocument/documentSymbol", document_symbol;
42 "textDocument/codeAction", code_action;
43 "codeAction/resolve", code_action_resolve;
44 "workspace/symbol", symbol;
45 "workspaceSymbol/resolve", workspace_symbol_resolve;
46 "textDocument/codeLens", code_lens;
47 "codeLens/resolve", code_lens_resolve;
48 "textDocument/documentLink", document_link;
49 "documentLink/resolve", document_link_resolve;
50 "textDocument/formatting", formatting;
51 "textDocument/rangeFormatting", range_formatting;
52 "textDocument/onTypeFormatting", on_type_formatting;
53 "textDocument/rename", rename;
54 "textDocument/prepareRename", prepare_rename;
55 "workspace/executeCommand", execute_command;
56 }
57 {
59 "workspace/didChangeWorkspaceFolders", did_change_workspace_folders;
60 "window/workDoneProgress/cancel", work_done_progress_cancel;
61 "workspace/didCreateFiles", did_create_files;
62 "workspace/didRenameFiles", did_rename_files;
63 "workspace/didDeleteFiles", did_delete_files;
64 "workspace/didChangeConfiguration", did_change_configuration;
65 "textDocument/didOpen", did_open;
66 "textDocument/didChange", did_change;
67 "textDocument/didClose", did_close;
68 "textDocument/didSave", did_save;
69 "textDocument/willSave", will_save;
70 "workspace/didChangeWatchedFiles", did_change_watched_files;
71 "$/setTrace", set_trace;
72 "$/cancelRequest", cancel_request;
73 "$/progress", progress;
74 }
75 {
77 "workspace/workspaceFolders", workspace_folders;
78 "workspace/configuration", configuration;
79 "window/workDoneProgress/create", work_done_progress_create;
80 "workspace/semanticTokens/refresh", semantic_tokens_refresh;
81 "window/showDocument", show_document;
82 "workspace/inlineValue/refresh", inline_value_refresh;
83 "workspace/inlayHint/refresh", inlay_hint_refresh;
84 "workspace/diagnostic/refresh", workspace_diagnostic_refresh;
85 "client/registerCapability", register_capability;
86 "client/unregisterCapability", unregister_capability;
87 "window/showMessageRequest", show_message_request;
88 "workspace/codeLens/refresh", code_lens_refresh;
89 "workspace/applyEdit", apply_edit;
90 }
91 {
93 "window/showMessage", show_message;
94 "window/logMessage", log_message;
95 "telemetry/event", telemetry_event;
96 "textDocument/publishDiagnostics", publish_diagnostics;
97 "$/logTrace", log_trace;
98 "$/cancelRequest", cancel_request;
99 "$/progress", progress;
100 }
101}