A minimal VS Code extension that adds a persistent <textarea> under the Explorer view for quick notes.
- Always-on scratchpad in the sidebar
- Defaults to ~6 lines, still resizable by dragging
- Indentation-aware editing
- Configurable
indentSize(default2spaces) - Tab / Shift+Tab to indent/unindent at the start of the current line
- Enter preserves the full leading indent from the previous line
- Backspace deletes a whole indent chunk when inside the indent region, otherwise behaves normally (including merging lines)
- Arrow keys move by full indent chunks within the indent region
- Click on leading spaces snaps the cursor to the nearest indent boundary
- Configurable
- Auto-saves to global state
- No build-time configuration required
You can tweak the number of spaces per indent level:
- Clone this repo
npm installnpm run compile- Package and install in VS Code:
npm install -g vsce vsce package code --install-extension bottom-left-scratchpad-0.0.1.vsix
- Press F5 to open a new Extension Development Host
- Edit
src/extension.ts, then recompile withnpm run compile
Open any folder in VS Code. You’ll see a Scratchpad pane under the Explorer.
Type your notes—everything is saved automatically and indentation behaves like in an editor.