Community
Participate
Working Groups
1) create a new generic project 'MyProject' in the Navigator 2) create a new file 'MyFile' in the project (a text editor will pop up) 3) edit the file but don't save it 4) select 'MyFile' and delete it At this point the file is deleted, the editor is still open however. I am not sure if this is the expected behaviour but I would think the user would assume changes would be lost when deleting the file so closing the editor(s) with changes should be ok. An editor without changes is closed properly when its file is deleted. Follow up problem: 5) close or delete ALL your projects 6) close the open editor of 'MyFile You will be prompted to save changes, if you click 'yes' you will not have any projects available to save the file to so you will have to cancel and lose changes. This problem would not exist if editors were closed properly - the user shouldn't be asked to save changes to a 'deleted' file. NOTES:
PRODUCT VERSION: 119-jdk
See also bug 2399
It now prompts to save changes when editor is activated.