ProcessWire Snippets - Basic
A collection of ProcessWire snippets for use with Sublime Text.
- Total 615
- Win 338
- OS X 211
- Linux 66
|Oct 17||Oct 16||Oct 15||Oct 14||Oct 13||Oct 12||Oct 11||Oct 10||Oct 9||Oct 8||Oct 7||Oct 6||Oct 5||Oct 4||Oct 3||Oct 2||Oct 1||Sep 30||Sep 29||Sep 28||Sep 27||Sep 26||Sep 25||Sep 24||Sep 23||Sep 22||Sep 21||Sep 20||Sep 19||Sep 18||Sep 17||Sep 16||Sep 15||Sep 14||Sep 13||Sep 12||Sep 11||Sep 10||Sep 9||Sep 8||Sep 7||Sep 6||Sep 5||Sep 4||Sep 3|
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.