Skip to main content
Plugins / TODO-Checker

TODO-Checker

codeberg.org/epsilon_02/todo-checker
Website
todotesting

Plugin to check if TODOs has a open issue number to the project repository


Settings

Settings Name Default Description
prefix_regex (TODO|FIXME) prefix which should a comment start to check if there should exist a issue number
main_regex ( |)(\(|\(#)(?P<ISSUE_NUMBER>\d+)(\)) main regex to check how the issue number should be defined. IMPORTANT: if you want to build a custom regex, the name of the capturing group "ISSUE_NUMBER" have to be defined which only returns the issue-number!
debug false enable debug output

Building custom regex

This plugin uses ripgrep to search through project files which uses the rust regex syntax.

Ignore files

Ripgrep pays attention to the following files: .rgignore, .ignore and .gitignore. It treats .rgignore-files with higher precedence than .ignore-files and .ignore-files with a higher precedence than `.gitignore. Check also the ripgrep manual out for further reading.