Temp Note
Temp Note creates real, editable scratch files without asking you to choose a destination first. Keep a note for the current VS Code session, or store it with the current workspace when it needs to survive a restart.
Create a note
- Press
Ctrl+Alt+N (Cmd+Alt+N on macOS) to create a note with the configured default language.
- Press
Ctrl+Shift+Alt+N (Cmd+Shift+Alt+N on macOS) to choose a language first.
- Use the Temp Note activity-bar view to reopen, rename, or delete notes.
New notes open as normal text documents, so VS Code editing, formatting, search, and language features work as expected.
Storage modes
| Mode |
Behavior |
| Session |
Stores the note in extension session storage and removes it when the extension session ends. |
| Persistent |
Stores the note inside the current workspace. The default directory is .vscode/tempnotes. |
The status-bar item shows the default mode for newly created notes. Click it to switch modes. Switching the default does not move existing notes.
Persistent storage paths are constrained to the current workspace. Each note has independent metadata, so two VS Code windows can safely use Temp Note in the same workspace. The extension also imports notes created by versions that used the legacy metadata header or shared index.
Settings
| Setting |
Default |
Purpose |
tempnote.defaultLanguage |
plaintext |
Language used by quick create. |
tempnote.persistentMode |
false |
Use workspace storage for new notes. |
tempnote.storageLocation |
.vscode/tempnotes |
Workspace-relative persistent storage directory. |
tempnote.showWelcomeText |
true |
Add a small English starter template. |
tempnote.interfaceLanguage |
en |
Runtime message language (en or zh-CN). |
Changes to tempnote.storageLocation take effect after reloading the VS Code window. This keeps every active note and its index bound to one storage root for the full extension session.
Commands
Temp Note: Create Scratch Note
Temp Note: Create Scratch Note with Language...
Temp Note: Clear All Notes
Temp Note: Toggle Default Storage Mode
Deleting a note or clearing all notes requires confirmation.
License
Licensed under the MIT License. See LICENSE.