Nifty / Extensions / Editing

Nifty Todo

TODO, FIXME and HACK comments highlighted in the editor and listed in a tree, plus Better Comments-style markers.

code --install-extension nifty.nifty-todo

Works in VS Code, Cursor, Windsurf, VSCodium and in the browser on vscode.dev and github.dev. Free.

Features

The TODOs view grouped by tag, a click on a FIXME jumping to its line, then a new TODO typed in billing.py showing up in the view right away

The TODOs view lists every TODO, FIXME, HACK, BUG, XXX and NOTE, next to highlighted comments

TODOs grouped by tag

  • Every TODO in one place. A TODOs view in the Explorer lists every TODO, FIXME, BUG, HACK, XXX and NOTE comment in your workspace. Group by file or by tag; click to jump to it. A badge shows the count.
  • Highlighted in the editor. Each tag gets its own colour (and a mark on the scrollbar). Highlight just the tag or the whole comment.
  • Your own tags. Add REVIEW, @todo, PERF or anything else, with any colour.
  • Better Comments-style markers.
    • // ! Deprecated: don't use is red.
    • // ? Why is this needed is blue.
    • // * Important is green.
    • //// oldCode(); is struck out.
  • Author and ticket tags. TODO(ann): … and FIXME[JIRA-123]: … are recognised.
  • Live. Updates as you type and when files change on disk.
  • Copy as a Markdown checklist. Paste all TODOs into an issue or PR description.
  • Any language. Understands //, #, /* */, <!-- -->, --, ;, % and ' comments, and ignores tags inside strings.
  • Fast and safe. Skips node_modules, build output, minified and binary files. It doesn't depend on VS Code's internal search binary, which is what broke other TODO extensions after updates.
  • Works in the browser on vscode.dev and github.dev.

Commands

Command What it does
Nifty Todo: Rescan Workspace Scan all files again
Nifty Todo: Copy TODOs as Markdown Checklist Copy everything as - [ ] items grouped by file
Nifty Todo: Group by Tag / Group by File Switch the tree's grouping (also in the view's title bar)

Settings

Setting Default What it does
nifty.todo.tags TODO, FIXME, BUG, HACK, XXX, NOTE Tags and colours, e.g. [{ "tag": "REVIEW", "color": "#22C55E" }]
nifty.todo.highlight tag tag, line (whole comment) or none
nifty.todo.betterComments true Colour !, ?, * and //// comments
nifty.todo.groupBy file Tree grouping: file or tag
nifty.todo.include **/* Files to scan
nifty.todo.exclude node_modules, .git, dist, build… Files to skip
nifty.todo.maxFiles 5000 Maximum files scanned