An emacs package to highlight and list comment tags such as 'TODO', 'FIXME', 'BUG', 'XXX', 'HACK', 'KLUDGE'.
Ability to customize highlight colors and keywords list.
comment-tags-keywordsto alter the list of highlighted/searched words.comment-tags-require-colonto require a matching colon (default t).comment-tags-comment-start-onlyto only match tags at the beginning of a comment (default nil).comment-tags-keymap-prefixto alter the default prefix (defaultC-c #).comment-tags-case-sensitiveto set case-sensitivity (default t).comment-tags-facesto set faces for keywords.comment-tags-lighterto set modeline text (default nil).comment-tags-show-facesto show colors/faces in comment-tags buffer/search (default t).
The prefix for commands is C-c #.
Commands include:
bto list tags in current buffer (comment-tags-list-tags-buffer).ato list tags in all buffers (comment-tags-list-tags-buffers).sto jump to tag in current buffer by a word or phrase using reading-completion (comment-tags-find-tags-buffer).nto jump to next tag from point (comment-tags-next-tag).pto jump to previous tag from point (comment-tags-previous-tag).
- Issues/Features here: https://github.com/vincekd/comment-tags/issues
(autoload 'comment-tags-mode "comment-tags-mode")
(setq comment-tags-keymap-prefix (kbd "C-c t"))
(with-eval-after-load "comment-tags"
(setq comment-tags-keyword-faces
`(("TODO" . ,(list :weight 'bold :foreground "#28ABE3"))
("FIXME" . ,(list :weight 'bold :foreground "#DB3340"))
("BUG" . ,(list :weight 'bold :foreground "#DB3340"))
("HACK" . ,(list :weight 'bold :foreground "#E8B71A"))
("KLUDGE" . ,(list :weight 'bold :foreground "#E8B71A"))
("XXX" . ,(list :weight 'bold :foreground "#F7EAC8"))
("INFO" . ,(list :weight 'bold :foreground "#F7EAC8"))
("DONE" . ,(list :weight 'bold :foreground "#1FDA9A"))))
(setq comment-tags-comment-start-only t
comment-tags-require-colon t
comment-tags-case-sensitive t
comment-tags-show-faces t
comment-tags-lighter nil))
(add-hook 'prog-mode-hook 'comment-tags-mode)List tags in buffer and select to jump to point.

Search tags in buffer (with search of line text) and jump to point.
