Pocket NotesA small notebook in your VS Code sidebar. Open it, jot something down, and get back to work. Your notes are shared across projects and can follow your VS Code account to your other laptops.
Open your notebookClick Pocket Notes in the right sidebar, or run Pocket Notes: Open Notebook from the Command Palette. Type directly into the note. Use + to add a note; edit the title above its text to rename it. Pocket Notes opens in the Secondary Side Bar, beside views such as Chat. You can drag the Notes view to your preferred sidebar. VS Code remembers the layout. Sync across laptops
Saved locally means your draft has been saved on this computer. It does not confirm a cloud upload. Use Settings Sync: Show Synced Data and the Log (Settings Sync) output channel to check account synchronization. Notes are registered with Offline and concurrent editsPocket Notes is a personal scratchpad, rather than a collaborative editor. Edits to different notes are merged using a local mirror. For two offline edits to the same note, the revision with the newest timestamp wins when observed; this depends on reasonably accurate device clocks. Before replacing a local draft, Pocket Notes keeps a local backup. If an incoming edit changes the note while you are typing, your draft is saved as a separate recovered note. Local backups are per computer: up to 60 snapshots within a 2 MB budget, sampled about every 30 seconds while writing, plus snapshots for incoming changes and deletions. Use Pocket Notes: Restore a Local Backup to restore one as a new note. For long-term archiving, export a notebook backup. Sync is intended for short text notes and remains subject to VS Code service limits. A large notebook or disabled/failed Settings Sync may remain local. BackupsOpen the Notes view's … menu, or use these Command Palette commands:
PrivacyNotes are stored in your VS Code profile's extension storage. When you enable Settings Sync for extensions, VS Code sends the registered notebook data to its sync service under your account. Local history is not registered for sync. This is a notebook for ordinary drafts; it does not use VS Code SecretStorage. DevelopmentRequires Node.js and VS Code 1.106 or newer. There are no runtime dependencies.
For debugging, open this folder in VS Code and press F5 to launch an Extension Development Host. Source files are plain JavaScript; no build step is needed. Marketplace release steps are included in the source folder's PUBLISHING.md file. VS Code desktop on macOS, Windows, and Linux is supported. In SSH, WSL, and container windows, the extension runs on your local UI host. A browser-only VS Code runtime is not currently supported. |