Scratch
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 1K
- Win 385
- Mac 541
- Linux 178
Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 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 |
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
- In Sublime Text Go to
File > New Scratch File
- 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:
- Set the first line of the file to contain only the new extension you want to switch to.
- Save the file
- 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”
}