[ 
https://issues.apache.org/jira/browse/NETBEANS-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17242973#comment-17242973
 ] 

Jayce commented on NETBEANS-1796:
---------------------------------

I can reproduce it.

It seems linked to text selection. If you select nothing, you will have the bad 
refactor message.

If text selection is correct (variable, method etc) it seems to work correctly. 
(in my situation).

A easy fix could be to disable "Find usage" when text selection is empty ?

 

> When use Find Usage the result is: "Can't refactor here"
> --------------------------------------------------------
>
>                 Key: NETBEANS-1796
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1796
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Editor
>    Affects Versions: 10.0
>         Environment: Windows 10
>            Reporter: Petru Ciucur
>            Priority: Major
>              Labels: fixit
>             Fix For: Next
>
>         Attachments: usage_refactor.jpg
>
>
> When use Find Usage the result is: "Can't refactor here".
> I use it in a php script for a class (methods).
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to