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 853
  • Win 490
  • Mac 264
  • Linux 99
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 1 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 1 0 0 0 0 0 0 0 0 0 0 0 0
Mac 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
Linux 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

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.