junichi11 / netbeans-wordpress-plugin

Support for WordPress
http://plugins.netbeans.org/plugin/46542/php-wordpress-blog-cms
Other
91 stars 35 forks source link

Add jump to declaration for add_shortcode #70

Closed Chris2011 closed 6 years ago

Chris2011 commented 6 years ago

Issue type

Overview description

It is possible to navigate to declaration on ctrl + click for the method name inside of add_filter and add_action. Unfortunately, this is not possible for addshortcut and maybe other add* methods who uses methodnames in method call.

Steps to reproduce

  1. Write add_shortcut('your_shortcode_name', 'your_shortcode_callback'); in your functions php or plugin.
  2. Ctrl + hover string 'your_shortcode_callback'.

Actual results

See no link to click and jump to the method declaration

Expected results

See link to click and jump to the method declaration as for add_filter and add_action.

Your environment (NetBeans and plugin version, e.t.c.)

Windows 10 64Bit, NetBeans 8.2 PHP WordPress Blog/CMS 0.9.5

Chris2011 commented 6 years ago

Hey @junichi11 can you please have a look into the PR? Thx.