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§
- Tsserver
Position - Tsserver understands 1-based line/offset coordinates.
- Tsserver
Range
Functions§
- completion_
commit_ characters - completion_
item_ kind_ from_ tsserver - file_
path_ to_ uri - lsp_
position_ to_ tsserver - lsp_
range_ to_ tsserver - Converts an LSP
Rangeinto 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