Function: claude-code-ide--toggle-share-opened-file

claude-code-ide--toggle-share-opened-file is an interactive and natively compiled function defined in claude-code-ide-transient.el.

Signature

(claude-code-ide--toggle-share-opened-file)

Documentation

Toggle reporting the open file to Claude without a region.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/yjvbhwl7p6zrbw9xlnni7y4hra8sa3pl-emacs-packages-deps/share/emacs/site-lisp/claude-code-ide-transient.el
(transient-define-suffix claude-code-ide--toggle-share-opened-file ()
  "Toggle reporting the open file to Claude without a region."
  (interactive)
  (setq claude-code-ide-share-opened-file (not claude-code-ide-share-opened-file))
  (claude-code-ide-log "Sharing the open file %s"
                       (if claude-code-ide-share-opened-file "enabled" "disabled")))