dailynotes-panelA VS Code extension for managing daily notes with built-in task tracking. It provides a sidebar panel that lists your daily notes in date order, and an "Open Tasks" panel that aggregates uncompleted tasks across all notes — grouped by project, using todo.txt conventions.
Features
Task SyntaxWrite tasks in your daily notes using markdown checkboxes with optional todo.txt-style priority, project, and context tags:
Tasks can have multiple project and context tags. Metadata Auto-Management
Commands
Command Details
|
| Setting | Type | Default | Description |
|---|---|---|---|
dailyNotes.folder |
string |
"" |
Folder where daily notes are stored (relative to workspace root) |
dailyNotes.dateFormat |
enum |
yyyy-mm-dd |
Filename date format: yyyymmdd or yyyy-mm-dd |
dailyNotes.autoSaveEnabled |
boolean |
false |
Autosave dirty files every 10 seconds and on editor switch; process updated daily-note todos after autosaves |
Demo Quick Start
- Set
dailyNotes.folderin VS Code settings. - Open the Daily Notes panel.
- On first open, choose Run Demo Now (or run
dailyNotes: Generate Sample Todo Datamanually). - Open
2000-01-01.mdand save once to let the extension addid:/cd:/dd:tokens and normalize anydue:tokens to the end. - Run
dailyNotes: Generate todo.md from All Notesto produce a groupedtodo.md. - (Optional) Enable
dailyNotes.autoSaveEnabledto autosave every 10 seconds and on editor switch with automatic todo refresh processing. - Use the Calendar view to click dates, create notes for specific days, and jump to today.
Development
Prerequisites
Setup
git clone https://github.com/ravivyas84/dailynotes-panel.git
cd dailynotes-panel
npm install
Build
# Compile TypeScript to JavaScript (output in out/)
npm run compile
# Watch mode — recompiles on file changes
npm run watch
Test
# Run all unit tests
npm test
Tests use Jest with ts-jest. Test files live in src/__tests__/.
Run in VS Code (debug)
- Open this project in VS Code
- Press
F5(or Run > Start Debugging) - A new VS Code window opens with the extension loaded
- Configure
dailyNotes.folderin the new window's settings - Use the Daily Notes icon in the activity bar
Package
# Build a .vsix file for distribution
npm run package
This requires vsce (npm install -g @vscode/vsce).
To install the packaged extension:
code --install-extension dailynotes-panel-0.1.2.vsix
Project Structure
src/
├── extension.ts # Extension entry point, commands, tree views
├── utils.ts # Date parsing, filename utilities
├── taskParser.ts # Task parsing, grouping, formatting
└── __tests__/
├── utils.test.ts # Tests for date/filename utilities
└── taskParser.test.ts # Tests for task parser
Providing Feedback
You can raise an issue on the GitHub repo.
Known Issues
- Today's note is not automatically selected in the panel when opened
Release Notes
0.1.2 (Current)
Note: 0.0.5 was skipped.
- Calendar month grid (webview) with today highlighting, month navigation, and “note exists” underline marker.
- Create/open notes for a specific date from the calendar or via command.
- Task metadata tokens:
id:,cd:,due:,dd:with auto-management on save. todo.mdnow includes wiki links for note references ([[YYYY-MM-DD]]) and a generated-file header comment.- Focus commands for Daily Notes / Calendar / To Do panels.
- Autosave now pauses while typing and resumes 5 seconds after inactivity.
0.1.1
- Improved demo onboarding and sample task generation.
- Added autosave todo-refresh wiring and better empty states. r
0.0.5 (Skipped)
Note: Version 0.0.5 was intentionally skipped.
- Migrated from moment.js to date-fns (smaller bundle)
- Added task parser with todo.txt-style syntax (priority, +project, @context)
- Added "Open Tasks" tree view panel grouped by project
- Added
dailyNotes: Generate todo.md from All Notescommand - Added task rollover — uncompleted tasks carry forward to new daily notes
- Added unit tests (60 tests covering utils and task parser)
- Extracted pure logic into
utils.tsandtaskParser.tsfor testability
0.0.4
Date: 2025-01-06
- Added an icon for the extension.
0.0.3
Date: 2025-01-04
- Showing a message when daily notes folder is not set
0.0.2
Date: 2024-12-15
- Fixed the readme file
0.0.1
Date: 2024-12-15
- First release
