Variable: claude-code-ide-mcp--empty-selection
claude-code-ide-mcp--empty-selection is a variable defined in
claude-code-ide-mcp.el.
Value
((selection (start (line . 0) (character . 0))
(end (line . 0) (character . 0))))
Documentation
selection_changed payload that clears the editor context of a CLI.
The CLI applies a notification only when selection has both ends, and
one without filePath or text makes it forget the current file: the
prompt loses its "In <file>" label and the next prompt carries no
opened-file or selection reminder.
Source Code
;; Defined in /nix/store/yjvbhwl7p6zrbw9xlnni7y4hra8sa3pl-emacs-packages-deps/share/emacs/site-lisp/claude-code-ide-mcp.el
(defconst claude-code-ide-mcp--empty-selection
'((selection . ((start . ((line . 0) (character . 0)))
(end . ((line . 0) (character . 0))))))
"`selection_changed' payload that clears the editor context of a CLI.
The CLI applies a notification only when `selection' has both ends, and
one without `filePath' or `text' makes it forget the current file: the
prompt loses its \"In <file>\" label and the next prompt carries no
opened-file or selection reminder.")