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 573
- OS X 344
- Linux 122
|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|
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.