Skip to main content

Module lsp_tools

Module lsp_tools 

Source

Functionsยง

find_references_grep
Find all references to the symbol at file:line:col (grep-based).
go_to_definition_grep
Find where the symbol at file:line:col is defined (grep-based).
hover_grep
Show type / doc context for the symbol at file:line:col (grep-based).
word_at_position
Extract the identifier (word) that covers col on line (both 1-based). Returns None when the position is out of range or lands on whitespace/punctuation.