[
https://issues.apache.org/jira/browse/NETBEANS-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bailey Campbell updated NETBEANS-1503:
--------------------------------------
Description:
After renaming a java file with Refactor option, Undo does not work. The code
is fixed properly but the Java file is not reverted to its original name.
# In projects view open package {{rename}}, right click {{ClassA.java}} and
from popup menu select Refactor > Rename...
# Type new name e.g "RenamedClassA"
# Press Preview
# Press Do Refactoring
# Press Undo
The same issue happens with renaming packages.
# Open {{rename.ClassB.java}}, put caret into package name: {{rena|me}} (where
'|' is a position of caret)
# By Ctrl+R invoke Rename dialog
# Type new name e.g {{ename_a"}}
# Press Preview
# Press Do Refactoring
# Press Undo
was:
After renaming a java file with Refactor option, Undo does not work. The code
is fixed properly but the Java file is not reverted to its original name.
# In projects view open package {{rename}}, right click {{ClassA.java}} and
from popup menu select Refactor > Rename...
# Type new name e.g "RenamedClassA"
# Press Preview
# Press Do Refactoring
# Press Undo
> Refactor rename does not work properly
> --------------------------------------
>
> Key: NETBEANS-1503
> URL: https://issues.apache.org/jira/browse/NETBEANS-1503
> Project: NetBeans
> Issue Type: Bug
> Components: java - Editor
> Affects Versions: 10.0
> Environment: Windows 10
> Reporter: Bailey Campbell
> Priority: Minor
> Fix For: Next
>
>
> After renaming a java file with Refactor option, Undo does not work. The
> code is fixed properly but the Java file is not reverted to its original name.
> # In projects view open package {{rename}}, right click {{ClassA.java}} and
> from popup menu select Refactor > Rename...
> # Type new name e.g "RenamedClassA"
> # Press Preview
> # Press Do Refactoring
> # Press Undo
> The same issue happens with renaming packages.
> # Open {{rename.ClassB.java}}, put caret into package name: {{rena|me}}
> (where '|' is a position of caret)
> # By Ctrl+R invoke Rename dialog
> # Type new name e.g {{ename_a"}}
> # Press Preview
> # Press Do Refactoring
> # Press Undo
--
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