ProcessWire Snippets - Advanced
A collection of ProcessWire snippets for use with Sublime Text. This collection contains snippets only for the more advanced parts of the ProcessWire API.
- Total 1K
- Win 671
- OS X 377
- Linux 141
|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||Jul 22||Jul 21||Jul 20||Jul 19||Jul 18||Jul 17||Jul 16||Jul 15||Jul 14||Jul 13||Jul 12||Jul 11||Jul 10||Jul 9||Jul 8||Jul 7||Jul 6||Jul 5|
Sublime ProcessWire Snippets - Advanced
This package contains snippets ONLY for the snippets marked Advanced in the cheatsheet. You'll want to have the Basic Snippet Collection as a baseline before installing this set, as the Basic set provides the most commonly used API calls ($pages->find(), etc.).
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 200 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.