Todofy Extension for VS Code
A robust, high-performance TODO tracker extension for Visual Studio Code that helps you manage your tasks efficiently.
Features
✅ Real-time updates: Automatically refreshes when files change
✅ Multiple grouping options: Group by file, type, or priority
✅ Performance optimized: Uses smart caching for speed
✅ Active file highlighting: Easily see TODOs in your current file
✅ Status bar integration: Quickly see total TODO count
✅ Different TODO types: TODO, FIXME, BUG, HACK with distinct icons
✅ Priority support: Set priorities using TODO(P1) syntax
✅ Highly customizable: Configure patterns, file types, and exclusions
Usage
- Open the Todofy view from the activity bar
- All TODOs in your workspace will be scanned and displayed
- Click on a TODO to jump directly to its location
- Use the view title buttons to:
- Refresh TODOs manually
- Group by file (default)
- Group by type (TODO, FIXME, etc.)
- Group by priority
The extension recognizes TODOs in various comment formats:
// TODO: Regular todo item
// TODO(P1): High priority todo with P1 priority
// FIXME: Something that needs fixing
// BUG: A bug that needs attention
// HACK: A temporary workaround
Extension Settings
todoExtension.todoPatterns
: Words to search for as TODOs
todoExtension.fileTypes
: File extensions to include in the search
todoExtension.excludePatterns
: Glob patterns to exclude from the search
todoExtension.autoRefresh
: Enable/disable auto-refresh on file changes
This extension is optimized for speed and low resource usage:
- Smart caching: Only rescans files when they change
- Debounced updates: Prevents rapid refreshes during typing
- Incremental scanning: Quick updates for active files
- Background scanning: Non-blocking operation with progress indicators
- Efficient file filtering: Only processes relevant file types
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This extension is licensed under the MIT License.
Running the Extension
- Run
npm install
in terminal to install dependencies
- Run the
Run Extension
target in the Debug View. This will:
- Start a task
npm: watch
to compile the code
- Run the extension in a new VS Code window