Module utils

Module utils 

Source
Expand description

§============================================================================= Utility Helpers

Range conversions, throttling/debouncing, and other helper utilities land here so both the protocol handlers and the RPC bridge can reuse them without reimplementing the same glue each time.

Structs§

TsserverPosition
Tsserver understands 1-based line/offset coordinates.
TsserverRange

Functions§

completion_commit_characters
completion_item_kind_from_tsserver
file_path_to_uri
lsp_position_to_tsserver
lsp_range_to_tsserver
Converts an LSP Range into the tsserver 1-based coordinate space.
lsp_text_doc_to_tsserver_entry
tsserver_file_to_uri
tsserver_position_value
tsserver_position_value_lsp
tsserver_range_from_value
tsserver_range_from_value_lsp
tsserver_span_to_location
tsserver_span_to_location_link
tsserver_text_changes_from_edits
uri_to_file_path