Skip to main content

Module hover

Module hover 

Source

Functions§

class_hover_from_index
Build a hover for a class/interface/trait/enum found by short name in the workspace index.
docs_for_symbol_from_index
Return hover documentation for a symbol from a FileIndex slice.
extract_receiver_var_before_cursor
Extract the receiver variable from immediately before ->word or ?->word at the cursor’s exact column position. Uses the column rather than str::find() so multiple method calls on the same line are handled correctly.
format_params_str
hover_info
resolve_use_alias
Resolve a use-import alias to the short class name.
signature_for_symbol_from_index
Return a function/method signature string from a FileIndex slice.