Community
Participate
Working Groups
If you use "Quick Fix" to do a "Move Refactor" you are displayed a "file not accessible" dialog to delete/discard the java file being edited --- (1). This dialog is very confusing please find png attached. On the other hand same refactoring done via Context Menu in package explorer with the file open in the editor content area (with unsaved changes) does not show you this dialog and does the refactoring quietly (file is saved, refactoring done, file is closed or left open in the content area) ---- (2) About the file being closed/left open in (2) - I have noticed that if you refactor to a outer pkg i.e a.b.c from a.b.c.d the file is closed but if it is other way around it is left open - this would be a different bug I suppose. ------------------------------------------------------- Cheers and goodwill ----------------------------------------------------------------------- Software configuration ---------------------------------------------------------------------- Windows XP Version 5.1 (Build 2600.xpsp_sp2_gdr.050301-1519: Service Pack 2) ----------------------------------------------------------------------- java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing) --------------------------------------------------------------------- eclipse-platform-3.2M4-win32 eclipse-PDE-3.2M4 eclipse-JDT-3.2M4 xsd-runtime-2.2.0M3 emf-sdo-runtime-2.2.0M3 GEF-runtime-3.2M3 JEM-runtime-I20051130 wtp-1.0RC5 subclipse-0.9.37 ------------------------------------------------------------
Created attachment 33024 [details] Image of the dialog
I can't reproduce that with I20060119. 1. create class package a.b.c.d.e; public class E1 { } 2. change package to a.b.c.d, do not save 3. quick fix: Move... 4. editor stays open, no dialog Same behaviour when saving, and renaming a.b.c.d to a.b.c.d.e Can you please add more details?
It is interesting that I could not reproduce this on the following configuration: eclipse-platform-3.2M5-win32 eclipse-PDE-3.2M5 eclipse-JDT-3.2M5 xsd-runtime-2.2.0M4 emf-sdo-runtime-2.2.0M4 GEF-runtime-3.2M4 JEM-runtime-1.2M1 wtp-1.5M4 subclipse-0.9.106 May be some other fix has also fixed this problem. In the mean time this may be closed. I will reopen this bug if it comes up again. Thank you for your valuable time. Cheers and good will
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.