Function: eca-editor-get-references
eca-editor-get-references is a natively compiled function defined in
eca-editor.el.
Signature
(eca-editor-get-references SESSION REQUEST PARAMS)
Documentation
Handle the editor/getReferences server REQUEST for SESSION.
PARAMS contain the file uri, the 1-based symbol position and an optional includeDeclaration flag that defaults to true.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-editor.el
(defun eca-editor-get-references (session request params)
"Handle the `editor/getReferences' server REQUEST for SESSION.
PARAMS contain the file uri, the 1-based symbol position and an
optional includeDeclaration flag that defaults to true."
(let ((include-declaration (eca-editor--include-declaration-p params)))
(eca-editor--nav-request
session request params "textDocument/references"
(list :context (list :includeDeclaration (or include-declaration :json-false))))))