Craft Development Snippets
Some snippets for when you are developing plugins on Craft, created for Sublime Text 3.
Details
Installs
- Total 727
- Win 290
- Mac 397
- Linux 40
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 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 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 |
Mac | 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 |
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
Craft Sublime Snippets
Some snippets for when you are developing plugins on Craft, created for Sublime Text 3.
These snippets have been made from looking at the plugin docs and also Pixel & Tonic's coding standards.
Installation
These snippets are not yet on Package Control, but they will be added soon hopefully. For now to install simply follow these steps:
OSX
cd "~/Library/Application Support/Sublime Text 3/Packages"
Windows
cd "C:\Users\YOUR_USERNAME\AppData\Roaming\Sublime Text 3\Packages"
Inside Packages
git clone https://github.com/alecritson/Craft-Sublime-Snippets.git "craft-snippets"
Available snippets
Snippet | Output | Reference |
---|---|---|
craft-class-comm |
Class and interface DocBlock comment | link |
craft-method-comm |
Method DocBlock comment | link |
craft-property-comm |
Property DocBlock comment | link |
craft-h1-comm |
Heading one comment | link |
craft-h2-comm |
Heading two comment | link |
craft-controller-class |
Controller class scaffold | link |
craft-fieldtype-class |
FieldType class scaffold | link |
craft-model-class |
Model class scaffold | link |
craft-record-class |
Record class scaffold | link |
craft-service-class |
Service class scaffold | link |
craft-variables-class |
Template Variables class scaffold | link |
craft-widget-class |
Widget class scaffold | link |