Variable: projectile-todo-keywords

projectile-todo-keywords is a customizable variable defined in projectile.el.

Value

("TODO" "FIXME" "HACK" "XXX" "BUG" "NOTE")

Documentation

Annotation keywords projectile-todos collects across the project.

Each keyword is matched as a whole word, case-sensitively, and must be followed by a colon, by whitespace or by the end of the line - so TODO:
and FIXME are hits while TODOS and MASTODON are not. Add your own
project's conventions here (REVIEW, OPTIMIZE, DEPRECATED, ...); projectile-todos with a prefix argument prompts for which of these to search for.

The keywords are not required to sit in a comment: neither the pure-elisp scan nor the ripgrep fast-path parses the language, so an annotation in a string or in prose is reported too.

This variable was added, or its default value changed, in projectile version 3.3.0.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-todo-keywords
  '("TODO" "FIXME" "HACK" "XXX" "BUG" "NOTE")
  "Annotation keywords `projectile-todos' collects across the project.
Each keyword is matched as a whole word, case-sensitively, and must be
followed by a colon, by whitespace or by the end of the line - so `TODO:'
and `FIXME ' are hits while `TODOS' and `MASTODON' are not.  Add your own
project's conventions here (`REVIEW', `OPTIMIZE', `DEPRECATED', ...);
`projectile-todos' with a prefix argument prompts for which of these to
search for.

The keywords are not required to sit in a comment: neither the pure-elisp
scan nor the ripgrep fast-path parses the language, so an annotation in a
string or in prose is reported too."
  :group 'projectile
  :type '(repeat string)
  :package-version '(projectile . "3.3.0"))