Variable: bazel-fix-visibility

bazel-fix-visibility is a customizable variable defined in bazel.el.

Value

nil

Documentation

Specifies whether to attempt to automatically add missing target visibility.

If nil, never attempt to fix target visibility. If t, always search compilation output for visibility errors and attempt to fix them by calling Buildozer via ‘bazel-buildozer-command’. If
‘ask’, prompt the user first for confirmation.

Source Code

;; Defined in /nix/store/ws8pkszjvcad1rgzqw6wja7qxacylfhn-emacs-packages-deps/share/emacs/site-lisp/elpa/bazel-20261002.1510/bazel.el
(defcustom bazel-fix-visibility nil
  "Specifies whether to attempt to automatically add missing target visibility.
If nil, never attempt to fix target visibility.  If t, always
search compilation output for visibility errors and attempt to
fix them by calling Buildozer via ‘bazel-buildozer-command’.  If
‘ask’, prompt the user first for confirmation."
  :type '(radio (const :tag "Never" nil)
                (const :tag "Always" t)
                (const :tag "Ask" ask))
  :risky t
  :group 'bazel
  :link '(custom-manual "(bazel.el) Running Bazel"))