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

Scratch

by jschonberg ALL

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

  • 0.1.3
  • github.​com
  • github.​com
  • 10 years ago
  • 15 minutes ago
  • 10 years ago

Installs

  • Total 1K
  • Win 413
  • Mac 573
  • Linux 185
Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 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
Windows 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Mac 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 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 0 0 0 0 1 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” }