Create multiple scratchpad files for doodling while you're coding.
This is a fork of omeryagmurlu/scratchpads which implemented the functionality to remove a single scratchpad on top of the original repo buenon/scratchpads but never got published to the marketplace as an extension.
- Create multiple scratchpads
- Create scratchpads of different languages and file types
- Enjoy VSCode intellisense in your scratchpads
- Scratchpad are not interfering your project and can be removed at any time
- Run the command
Scratchpads: New scratchpad
from the Command Palette - Select the desired file type
- Run the command
Scratchpads: Open scratchpad
from the Command Palette - Select the file you wish to re-open
- Run the command
Scratchpads: Remove scratchpad
from the Command Palette
- Run the command
Scratchpads: Remove all scratchpads
from the Command Palette
Note: This loops through all the open tabs and closes the scratchpad ones before deleting the files (might seem weird)*
- Run the command
Scratchpads: New scratchpad
from the Command Palette - Select
Add custom...
from the list - Enter the file type's name
- enter the file's extension
- Run the command
Scratchpads: New scratchpad
from the Command Palette - Select
Remove...
from the list - Check the file types you wish to remove and hit enter
- Run the command
Scratchpads: New scratchpad
from the Command Palette - Select
Restore defaults...
from the list
- New scratchpad (scratchpads.newScratchpad)
- Remove scratchpads (scratchpads.removeScratchpads)
- Open scratchpad (scratchpads.openScratchpad)
You can find instructions on adding short cuts to the commands above on VSCode website.
This extension contributes the following settings:
scratchpads.promptForRemoval
: By default set totrue
. If set tofalse
the user will not be prompted for confirmation when removing scratchpad files.