Bailey Campbell created NETBEANS-1504:
-----------------------------------------

             Summary: Shortcut does not always work for Refactor rename ie Ctrl 
R
                 Key: NETBEANS-1504
                 URL: https://issues.apache.org/jira/browse/NETBEANS-1504
             Project: NetBeans
          Issue Type: Bug
          Components: java - Editor
    Affects Versions: 10.0
            Reporter: Bailey Campbell


The short cut for Rename Refactor does not always work.

public void m1(int parameter){
         ClassA a = new ClassA(10);
         a.method();
         int localVar = constant + parameter;
         System.out.println("Value is: " + localVar);
         System.out.println("ID of a is: " + a.id);
 }

Put your caret in ClassA or a.method() and Ctrl R works.  Put your caret in 
localVar and Ctrl R does not work



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to