Sublime Text 3 WordPress Package is a collection of WordPress snippets and autocompletions for Sublime Text 2 or 3
Autocomplete for:
WP version : 4.8.1
Functions : 2909
Hooks : 2045
Constants/Classes : 866
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
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.
Original TextMate author : Gipetto
Original scraper : @ericandrewlewis
Scraper :@wycks
Latest scraper :@jtsternberg
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",
Just install via package control (WordPress) or clone into your sublime-text-3 package directory.