The Gippy Pages

article

Function definition tool-tips added to the WordPress TextMate Bundle

Oct 3, 2009 | Web Design & Development | By Shawn Parker

I’ve added partial function definitions to the WordPress TextMate Bundle. The tool-tips list the function definition as well as the file and line number where the function is defined so that the full function definition can be looked up easily.

The function definitions can be brought up by selecting or setting the carat inside the function that needs to be defined and then using Command-Shift-H to bring up the tool tip.

I don’t list full definitions (ie: the textual definition that accompanies the functions in DocBlocks) mainly because I haven’t worked out the best way to parse the WordPress source tree to get those. I’m sure there’s a way, it just hasn’t been high priority yet.

Donations buy donuts. Donuts help keep us motivated. When we’re motivated we make plugins. Please help keep us motivated to make more useful contributions to the coding community.

Tagged as: bundle, definition, function, textmate, tmbundle, tool-tip, wordpress