Skip to content

LSP references#

Name: lsp-references

Shows the number of references to a declaration using the Language Server Protocol code lens. Clicking on the code lens shows the references in the editor.

Example#

LSP references example

Parameters#

TOML name Type Default value Description
include_declarations bool false Whether to include the declaration in the references.
local_variables bool true Whether to show references of local variables.
parameter_variables bool true Whether to show references of variables in parameter lists.