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 720
  • Win 226
  • OS X 390
  • Linux 104
Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4
Windows 0 0 0 1 0 0 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 1 1 0 0 0 0 0 0 0 2 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0 0 0 2 0 1 0 0 0 2 0 0 1 0 1 1 0 1 0 0 0 0 0 1
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1

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” }