ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Scratch

by jschonberg ST2/ST3

Sublime Text 2/3 Plugin – A simple way to create scratch files for code snippets and notes. All files are automatically named and saved in the same location.

Details

Installs

  • Total 566
  • Win 169
  • OS X 319
  • Linux 78
Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12
Windows 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0
OS X 0 0 0 1 2 2 0 0 0 0 0 2 0 0 0 0 0 1 0 1 1 0 0 0 0 1 1 1 1 0 0 0 0 2 0 1 1 0 0 0 0 0 0 0 1
Linux 2 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Scratch

Overview

Scratch is a simple Sublime Text plugin that makes it easy to create scratch files for code snippets and notes. These files are saved in single location for easy searching and access later.

Usage

Basic Usage

  1. In Sublime Text Go to File > New Scratch File
  2. A new file is opened. The file is named “number.extension”. number is an integer that is set to one more than the last saved Scratch file name. extension is a user-configurable extension.

Example

File > New Scratch File to open “0.py”. Save the file.
File > New Scratch File to open “1.py”.

Changing File Extensions Quickly

To quickly change the extension of a Scratch file:

  1. Set the first line of the file to contain only the new extension you want to switch to.
  2. Save the file
  3. The file now has the the new extension

Example

File > New Scratch File to open “0.py”.
Type “.js” as the only text in the first line.
Save the file.
The file is now named “0.js”

Configuration

By default Scratch will save files to ~/Documents/Scratch with the extension .py. You can change these settings using the following flags in your package settings: “ { "save_path”: “~/Documents/Scratch”, “extension” : “.py” }