ProcessWire Snippets - Basic
A collection of ProcessWire snippets for use with Sublime Text.
- Total 756
- Win 432
- Mac 238
- Linux 86
|Apr 4||Apr 3||Apr 2||Apr 1||Mar 31||Mar 30||Mar 29||Mar 28||Mar 27||Mar 26||Mar 25||Mar 24||Mar 23||Mar 22||Mar 21||Mar 20||Mar 19||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 29||Feb 28||Feb 27||Feb 26||Feb 25||Feb 24||Feb 23||Feb 22||Feb 21||Feb 20|
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.