Simple Scratchpad for quick notes.
By default, notes are appended to the same document regardless of where you are in VSCode, and are optionally prepended if you'd like to keep a reverse-chronological history of your scratchpad. Timestamps are added for visual clarity. If you delete the scratchpad file, upon next run it will generate a new file for you to use.
- Install the plugin (reload VS Code)
CMD+SHIFT+P
, search forOpen Scratchpad
- Add key bindings (Optional) .
- Open key bindings settings file:
- Open Command Palette (Ctrl+P)
- Search for 'Open keyboard shortcuts'
- Add and save you key bindings. For example:
- Open key bindings settings file:
// Open "keybindings.json" to overwrite the defaults. Can also be modified in VS Code's Keyboard Preferences.
[
{
"key": "ctrl+shift+.",
"command": "extension.openScratchpad",
"when": "editorTextFocus"
}
]
- Settings can be modified to specify appending to scratchpad upon invocation or prepending (defaults to appending):
// Setting for prepending to scratchpad.txt
"scratchpad.prepend": true // default is false
- Clone the repo
$ npm install
- Develop develop develop
- Run the tsc linter
- Open a PR and I'll take a look
- 0.0.1 - Initial release
- 0.0.2 - Updates to README,
package.json
- This extension was forked from awesomektvn's vscode-scratchpad plugin. As he was not responding to a PR, I have begin maintaining my own fork.