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.
- Total 635
- Win 189
- OS X 353
- Linux 93
|Mar 18||Mar 17||Mar 16||Mar 15||Mar 14||Mar 13||Mar 12||Mar 11||Mar 10||Mar 9||Mar 8||Mar 7||Mar 6||Mar 5||Mar 4||Mar 3||Mar 2||Mar 1||Feb 28||Feb 27||Feb 26||Feb 25||Feb 24||Feb 23||Feb 22||Feb 21||Feb 20||Feb 19||Feb 18||Feb 17||Feb 16||Feb 15||Feb 14||Feb 13||Feb 12||Feb 11||Feb 10||Feb 9||Feb 8||Feb 7||Feb 6||Feb 5||Feb 4||Feb 3||Feb 2||Feb 1|
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.
- 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.
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
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”
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:
“extension” : “.py”