Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add jump to declaration for add_shortcode #70

Closed
1 of 2 tasks
Chris2011 opened this issue Sep 19, 2018 · 1 comment
Closed
1 of 2 tasks

Add jump to declaration for add_shortcode #70

Chris2011 opened this issue Sep 19, 2018 · 1 comment

Comments

@Chris2011
Copy link
Contributor

Chris2011 commented Sep 19, 2018

Issue type

  • Bug
  • Enhancement

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 add_shortcut 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 added a commit to Chris2011/netbeans-wordpress-plugin that referenced this issue Oct 10, 2018
…add_shortcode, register_activation_hook and register_deactivation_hook.
Chris2011 added a commit to Chris2011/netbeans-wordpress-plugin that referenced this issue Oct 10, 2018
…add_shortcode, register_activation_hook and register_deactivation_hook.
Chris2011 added a commit to Chris2011/netbeans-wordpress-plugin that referenced this issue Oct 10, 2018
…add_shortcode, register_activation_hook and register_deactivation_hook.
@Chris2011 Chris2011 mentioned this issue Oct 10, 2018
@Chris2011
Copy link
Contributor Author

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

Chris2011 added a commit to Chris2011/netbeans-wordpress-plugin that referenced this issue Oct 10, 2018
Chris2011 added a commit to Chris2011/netbeans-wordpress-plugin that referenced this issue Oct 10, 2018
…add_shortcode, register_activation_hook and register_deactivation_hook.
Chris2011 added a commit to Chris2011/netbeans-wordpress-plugin that referenced this issue Oct 10, 2018
junichi11 pushed a commit that referenced this issue Oct 10, 2018
…code, register_activation_hook and register_deactivation_hook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants