ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Process​Wire Snippets - Basic

by evanmcd ALL

A collection of ProcessWire snippets for use with Sublime Text.

Labels snippets

Details

  • 2013.08.08.03.35.43
  • github.​com
  • github.​com
  • 11 years ago
  • 2 hours ago
  • 11 years ago

Installs

  • Total 842
  • Win 485
  • Mac 261
  • Linux 96
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 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
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

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

Installation

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.

Usage notes

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.

Coming updates

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.