File Exchange

image thumbnail

TODOS

version 1.2.0.0 (3.54 KB) by Marc Jakobi
Use tags in code comments to create notes/todos and display links to them in the command window.

2 Downloads

Updated 07 Feb 2017

From GitHub

View Version History

View license on GitHub

Use tags in code comments to create notes/todos and display links to them in the command window.
TODOS: Similar to Matlab's TODO/FIXME report generator. Audits a file, folder, folder + subdirectories or the Matlab search path for tags created in code by commenting and displays them (as links to the matlab files) in the command window. Syntax: TODOS; searches the current directory and its subdirectories for TODO tags.
TODOS(TAG) searches the current directory and its subdirectories for tags specified by TAG. TAG can be a string or a cell array of strings.
TODOS(TAG, DIRNAME) scans the specified folder and its subdirectories.
TODOS(TAG, FILENAME, 'file') scans the matlab file FILENAME.
TODOS(TAG, DIRNAME, OPTION) specifies where to scan: OPTION == 'file' -> treats DIRNAME as a FILENAME OPTION == 'dir' -> scans the folder without subdirectories OPTION == 'all' -> scans the entire Matlab search path OPTION == 'subdirs' -> scans DIRNAME and its subdirectories

Cite As

Marc Jakobi (2021). TODOS (https://github.com/MrcJkb/TODOS), GitHub. Retrieved .

Comments and Ratings (2)

Lionel Trebuchon

Quite fast and works well, and easy to edit.
I changed the text output a bit and redirected it to a log file, which enables to keep the TODOs history in a useful .txt format.

jf86

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!