Shivanshu-Gupta / scratchpads

Scratchpads extension for Visual Studio Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scratchpads

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.

Highlights

  • 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

Features

Add a new scratchpad

  • Run the command Scratchpads: New scratchpad from the Command Palette
  • Select the desired file type

Create new Scratchpad

Re-open a closed scratchpad file

  • Run the command Scratchpads: Open scratchpad from the Command Palette
  • Select the file you wish to re-open

Remove a single scratchpad file

  • Run the command Scratchpads: Remove scratchpad from the Command Palette

Remove all scratchpad files

  • 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)*

Add a new file type to the list

  • 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

Add a new file type

Remove file types from the list

  • 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

Remove file types

Restore default file type list

  • Run the command Scratchpads: New scratchpad from the Command Palette
  • Select Restore defaults... from the list

Available Commands

  • New scratchpad (scratchpads.newScratchpad)
  • Remove scratchpads (scratchpads.removeScratchpads)
  • Open scratchpad (scratchpads.openScratchpad)

Keyboard Shortcuts

You can find instructions on adding short cuts to the commands above on VSCode website.

Extension Settings

This extension contributes the following settings:

  • scratchpads.promptForRemoval: By default set to true. If set to false the user will not be prompted for confirmation when removing scratchpad files.

Source

GitHub

License

MIT

About

Scratchpads extension for Visual Studio Code

License:MIT License


Languages

Language:JavaScript 100.0%