[
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.
Test Suite: [http://netbeans-vm.apache.org/synergy/client/app/#/suite/2018/v/1]
Test Cases affected:
{color:#333333}[http://netbeans-vm.apache.org/synergy/client/app/#/case/4966/suite/2018/v/1]{color}
{color:#333333}[http://netbeans-vm.apache.org/synergy/client/app/#/case/4967/suite/2018/v/1]{color}
{color:#333333}[http://netbeans-vm.apache.org/synergy/client/app/#/case/4968/suite/2018/v/1]{color}
[http://netbeans-vm.apache.org/synergy/client/app/#/case/4970/suite/2018/v/1]
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
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
> Undo does not work after Refactor Rename is used
> ------------------------------------------------
>
> 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.
> Test Suite:
> [http://netbeans-vm.apache.org/synergy/client/app/#/suite/2018/v/1]
> Test Cases affected:
> {color:#333333}[http://netbeans-vm.apache.org/synergy/client/app/#/case/4966/suite/2018/v/1]{color}
> {color:#333333}[http://netbeans-vm.apache.org/synergy/client/app/#/case/4967/suite/2018/v/1]{color}
> {color:#333333}[http://netbeans-vm.apache.org/synergy/client/app/#/case/4968/suite/2018/v/1]{color}
> [http://netbeans-vm.apache.org/synergy/client/app/#/case/4970/suite/2018/v/1]
>
--
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