Variable: treemacs-imenu-scope

treemacs-imenu-scope is a customizable variable defined in treemacs-customization.el.

Value

everything

Documentation

Determines which items treemacs' imenu function will collect.

There are 2 options:
 - everything will collect entries from every project in the workspace.
 - current-project will only gather the index for the project at point.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-customization.el
(defcustom treemacs-imenu-scope 'everything
  "Determines which items treemacs' imenu function will collect.
There are 2 options:
 - `everything' will collect entries from every project in the workspace.
 - `current-project' will only gather the index for the project at point."
  :type '(choice (const :tag "Everything" everything)
                 (const :tag "Current Project Only" current-project))
  :group 'treemacs)