ProcessWire Snippets - Basic
A collection of ProcessWire snippets for use with Sublime Text.
- Total 706
- Win 402
- OS X 229
- Linux 75
|Jan 18||Jan 17||Jan 16||Jan 15||Jan 14||Jan 13||Jan 12||Jan 11||Jan 10||Jan 9||Jan 8||Jan 7||Jan 6||Jan 5||Jan 4||Jan 3||Jan 2||Jan 1||Dec 31||Dec 30||Dec 29||Dec 28||Dec 27||Dec 26||Dec 25||Dec 24||Dec 23||Dec 22||Dec 21||Dec 20||Dec 19||Dec 18||Dec 17||Dec 16||Dec 15||Dec 14||Dec 13||Dec 12||Dec 11||Dec 10||Dec 9||Dec 8||Dec 7||Dec 6||Dec 5|
Sublime ProcessWire Snippets - Basic
A collection of ProcessWire Snippets for Sublime Text 2. These are based on the ProcessWire2+ Cheatsheet version 1.1. This collection includes all the snippets in the cheatsheet when viewed without advanced mode on. If you'd like to add the snippets with the advanced setting on, you'll want to grab the Advanced Snippet Collecton
If you're using Git, the best method is to clone this repository to your ST Packages folder. (on Mac, it's here: /Users/your_username/Library/Application Support/Sublime Text 2/Packages/).
You can also download the zip file and unzip into the Packages folder.
Either way, I would recommend creating a ProcessWire subfolder as there are more than 100 files.
I'm looking into getting it into the excellent Package Control which would let you install right from ST.
The best way to trigger the snippets is to just start typing a ProcessWire object, like $pages. You'll see a list of the matches, like $pages->find() and $pages->get(). If you know what you want, you could keep typing the specific method like this $pagesfind - selecting the snippet will present you with the proper PW syntax.
For now, entering a command like this $pages-> doesn't work. I'm still figuring out how to work with the > character in snippets.
I'm looking into the best way to add important bits of documentation for the less well known commands. For now, there isn't any documentation in the snippets.
Hope this speeds up your already speedy site development with ProcessWire. :)
I'm evanmcd on Twitter - best way to reach me is there if you have any questions or comments.