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

Process​Wire Snippets - Advanced

by evanmcd ALL

A collection of ProcessWire snippets for use with Sublime Text. This collection contains snippets only for the more advanced parts of the ProcessWire API.

Labels snippets

Details

  • 2016.11.05.17.32.20
  • github.​com
  • github.​com
  • 8 years ago
  • 2 hours ago
  • 11 years ago

Installs

  • Total 1K
  • Win 857
  • Mac 461
  • Linux 174
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 1 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 - Advanced

A collection of advanced ProcessWire Snippets for Sublime Text 2. These are based on the ProcessWire2+ Cheatsheet version 1.1 with the Advanced setting on.

Installation

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.

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.