[wp-trac] [WordPress Trac] #9184: Add documentation lookup shortcuts to Theme and Plugin Editors

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 20 01:40:13 GMT 2009


#9184: Add documentation lookup shortcuts to Theme and Plugin Editors
----------------------------+-----------------------------------------------
 Reporter:  beaulebens      |       Owner:                         
     Type:  task (blessed)  |      Status:  new                    
 Priority:  normal          |   Milestone:  2.8                    
Component:  UI              |     Version:  2.7                    
 Severity:  normal          |    Keywords:  has-patch needs-testing
----------------------------+-----------------------------------------------
 This patch adds a SELECT box underneath the main editing window for the
 Theme and Plugin Editors that lists functions used in the current file
 (PHP files only). If you select a function from the list and click the
 "Lookup" button, it launches a new window that uses the new documentation
 API to load the appropriate page for that function.

 Includes: Native PHP functions, All user-space functions used in the
 current file (except those specifically excluded)

 Excludes: any classes/functions defined in the current file (since it
 assumes they are plugin/theme-specific and therefore won't have
 documentation available via the docs API),

 Allows users to filter the list of function names to "ignore" via the new
 'documentation_ignore_functions' filter.

 The way tokenizer works is a bit funky, so please keep an eye out for
 things being included in the list that shouldn't be there and let me know
 so I can clean them up. Could use some testing by loading various
 plugin/theme files.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/9184>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list