Skip to content
Sublime Text 3 WordPress Package
Branch: master
Clone or download
Pull request Compare This branch is 2 commits behind purplefish32:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Snippets
messages
LICENSE.txt
README.md
WP-Constants-Classes-Completions.sublime-completions
WP-Functions-Completions.sublime-completions
WP-Hooks-Completions.sublime-completions
messages.json

README.md

Sublime Text 3 WordPress Package

Sublime Text 3 WordPress Package is a collection of WordPress snippets and autocompletions for Sublime Text 2 or 3

Features

Autocomplete for:

WP version : 4.8.1

Functions          : 2909
Hooks              : 2045
Constants/Classes  :  866

Notes

Deprecated functions (219) have been removed

The first "tab" deletes all parameters instead of having to tab through each one:

  • First Tab-->Select all parameters
  • Each Tab Thereafter-->Selects each individual parameter or block

Snippets

Some updated snippets use the same name as the function, the autocomplete will show an "ALL Options" selection. For example to register a custom post type you would write register_post.... Please review the snippets <tabTrigger> to see how to call the rest.

Special thanks for updated scraping:

Original TextMate author : Gipetto
Original scraper : @ericandrewlewis
Scraper :@wycks
Latest scraper :@jtsternberg

Tip

Sublime won't autocomplete PHP files when there is no closing ?> tags , so in "Preferences-->Settings-User" add this snippet:

"auto_complete_selector": "source, text",

Install instructions

Just install via package control (WordPress) or clone into your sublime-text-3 package directory.

You can’t perform that action at this time.