sway_lsp::handlers

Module request

Source
Expand description

This module is responsible for implementing handlers for Language Server Protocol. This module specifically handles requests.

Functions§

handle_code_action
handle_code_lens
handle_completion
handle_document_highlight
handle_document_symbol
handle_formatting
handle_goto_definition
handle_hover
handle_initialize
handle_inlay_hints
handle_on_enter
This method is triggered when the use hits enter or pastes a newline in the editor.
handle_prepare_rename
handle_references
handle_rename
handle_semantic_tokens_full
handle_semantic_tokens_range
handle_show_ast
This method is triggered by a command palette request in VScode The 3 commands are: “show lexed ast”, “show parsed ast” or “show typed ast”
handle_visualize
Returns a String of the GraphViz DOT representation of a graph.