WordPress Coding Standards whitelist flags autocomplete snippets for Sublime Text
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
snippets
LICENSE
README.md

README.md

WPCS whitelist flags for Sublime Text

A Sublime Text 2/3 plug-in to add WordPress Coding Standards whitelist flags to your php code.

Use

Type wpcs to select a whitelist flag via autocomplete.

Install via Package Control

  1. Install Package Control if you haven't yet.
  2. Open the command palette (Ctrl+Shift+P for Windows/Linux, Cmd+Shift+P for Mac).
  3. Search for Package Control: Install Package and hit Enter.
  4. Type WPCS whitelist flags and press Enter to install it.

Changelog

1.0.6

  • Add PreparedSQLPlaceholders replacement count flag

1.0.5

  • Make precision alignment flag available to .js and .css files

1.0.4

  • Tab triggers now contain more words. This makes it easier to select a specific flag via the keyboard in addition to using the up or down arrow keys

1.0.3

  • Add precision alignment flag (props @claudiosanches)

1.0.2

  • Remove tax_query flag

1.0.1

  • Add new whitelist flags for WPCS 0.12.0+
  • Add tax_query flag deprecation notice

1.0.0

  • Initial release