Code Notebook — VS Code Extension
Save selected code from VS Code directly to your Code Notebook workspace with one right-click.
Install (VS Code)
Open VS Code → Extensions (Ctrl+Shift+X / Cmd+Shift+X) → search Code Notebook → Install.
Or install from the VS Code Marketplace.
Install (Cursor)
Cursor uses a separate extension catalog, so Code Notebook does not appear in Cursor’s extension search. Install manually:
- Download the latest
.vsix from codenotebook.dev/downloads
- Press Ctrl+Shift+P / Cmd+Shift+P → run Extensions: Install from VSIX… → select the file → reload if prompted
(Or: Extensions panel → ⋯ → Install from VSIX…)
- Connect your API key — see Setup (Cursor) below
Full step-by-step instructions: codenotebook.dev/downloads
Install (VSCodium & other VS Code–based editors)
Same manual .vsix install as Cursor. Download from codenotebook.dev/downloads, then use Extensions: Install from VSIX… from the Command Palette.
To build a VSIX locally: npm install && npm run package in this folder.
Setup — get your API key
Same for every editor:
- Sign in at Code Notebook
- Go to Settings → API keys
- Click Create key, name it (e.g. "VS Code" or "Cursor"), and copy it — shown once only
Setup (VS Code)
After installing the extension:
- Press Ctrl+Shift+P / Cmd+Shift+P
- Type Open Settings and select Preferences: Open Settings (UI)
- Search
code notebook
- Paste your key into Code Notebook: Api Key
Setup (Cursor)
Extension settings live under VS Code Settings in Cursor — not Cursor’s own settings page.
- Press Ctrl+Shift+P / Cmd+Shift+P → type Open VS Code Settings → select it
Or: gear icon → Settings → VS Code Settings in the sidebar
- Search
code notebook
- Paste your key into Code Notebook: Api Key
Note: In Cursor, Ctrl+, / Cmd+, zooms the editor — it does not open Settings.
Setup (VSCodium & other editors)
- Press Ctrl+Shift+P / Cmd+Shift+P → open settings (Preferences: Open Settings (UI) or Open VS Code Settings)
- Search
code notebook
- Paste your key into Code Notebook: Api Key
How to use
- Select any code in the editor
- Right-click → Save to Code Notebook
- Enter a title when prompted
Your snippet is saved instantly with language detection. View and edit it at Code Notebook.
Troubleshooting
- Key not working? Revoke it and create a new one in Settings → API keys
- Can't see “Save to Code Notebook”? Make sure you have code selected first
- Can't find “Install from VSIX” in Cursor? Use Ctrl+Shift+P / Cmd+Shift+P → Extensions: Install from VSIX…
- Can't find the API key field in Cursor? Open VS Code Settings (Command Palette or gear → Settings → VS Code Settings) — not Cursor's main settings
- Still stuck? Visit codenotebook.dev/downloads or codenotebook.dev/docs