You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Joseph James Jalbert (JIRA)" <ji...@apache.org> on 2018/04/13 04:51:00 UTC

[jira] [Updated] (NETBEANS-657) Generated Interface file cannot be deleted by undo

     [ https://issues.apache.org/jira/browse/NETBEANS-657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph James Jalbert updated NETBEANS-657:
------------------------------------------
    Description: 
On Extract Interface an interface file is generated.  When undo is used an error pops up that the file cannot be deleted, but it does remove it from the menu.  Redo will not work.  I believe the generated file is still present in the machine and blocks the program from generating another file.  I had similar problems with extract superclass.

I confirmed this.  In NetBeans the next test question asked me to extract interface again.  I gave it a different name, but "implements MyInterface" is  one of the checkboxes and that is the old interface name from before.  Other than accessing the disk directly I have no idea how to delete MyInterface since it is not in the project listing.

  was:On Extract Interface an interface file is generated.  When undo is used an error pops up that the file cannot be deleted, but it does remove it from the menu.  Redo will not work.  I believe the generated file is still present in the machine and blocks the program from generating another file.  I had similar problems with extract superclass.


> Generated Interface file cannot be deleted by undo
> --------------------------------------------------
>
>                 Key: NETBEANS-657
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-657
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Refactoring
>    Affects Versions: 9.0
>         Environment: NetBeans 9.0 406 on 20180411, Windows 10 latest development build, Java 1.8u172
>            Reporter: Joseph James Jalbert
>            Priority: Major
>             Fix For: 9.0
>
>
> On Extract Interface an interface file is generated.  When undo is used an error pops up that the file cannot be deleted, but it does remove it from the menu.  Redo will not work.  I believe the generated file is still present in the machine and blocks the program from generating another file.  I had similar problems with extract superclass.
> I confirmed this.  In NetBeans the next test question asked me to extract interface again.  I gave it a different name, but "implements MyInterface" is  one of the checkboxes and that is the old interface name from before.  Other than accessing the disk directly I have no idea how to delete MyInterface since it is not in the project listing.



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

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

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