Project To-Do List VS Code Extension
A VS Code extension that helps you manage your project to-do list directly within your editor's sidebar.
Features
- Create and manage to-do items for your project
- Separate sections for active and completed items
- Rich text editing:
- Multi-line todo items with Shift+Enter
- Click text to edit
- Press Enter to save changes
- Press Escape to cancel edits
- Item organization:
- New items appear at the top of the list
- Drag and drop to reorder items
- Mark items as completed with checkbox
- Completed items move to separate section
- Collapsible completed items section
- Item counts for both active and completed sections
- Todo items are saved in your workspace's
.vscode folder
Usage
- Open the command palette (
Ctrl+Shift+P or Cmd+Shift+P on macOS)
- Search for "Show Project To-Do List" and select it
- The todo list panel will appear in the sidebar
Todo Panel Features
Adding Items
- Type in the multi-line text input at the top
- Press Enter to add the item
- Use Shift+Enter for line breaks within an item
- New items are added to the top of the active list
Managing Items
- Click the checkbox to mark an item as complete/incomplete
- Click the item text to edit
- Drag the handle (≡) to reorder items
- Click the trash icon (🗑️) to delete an item
Editing Items
- Click any item's text to edit
- Use Shift+Enter for line breaks
- Click the checkmark (✓) or press Enter to save
- Press Escape to cancel editing
Sections
- Active items shown at top
- Completed items shown in collapsible section below
- Click section headers to collapse/expand
- Item counts shown in section headers
- Drag and drop works within and between sections
Data Storage
The to-do list is stored in a JSON file in your workspace's .vscode folder:
- File:
.vscode/project-todos.json
- Format: JSON array of todo items
- Each item contains:
- Unique ID
- Text content
- Completion status
Contributing
Feel free to open issues or PRs to improve this extension.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
| |