Bug 552023 - Project explorer should allow resource renaming within java source folders
Summary: Project explorer should allow resource renaming within java source folders
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.14   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 550379
  Show dependency tree
 
Reported: 2019-10-11 03:06 EDT by Till Brychcy CLA
Modified: 2020-06-04 12:14 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Till Brychcy CLA 2019-10-11 03:06:21 EDT
As Navigator is deprecated, I think I should report this missing feature:

e.g. I wanted to rename A.java -> A.java.disabled

Currently this is not possible in project explorer, as project explorer only offers "Rename compilation unit for this", which is a java level refactoring which doesn't allow to change .java to .txt

It works for .java files outside java source folders, so a workaround is to first move the .java file outside the src-folder, then rename it, then move it back - very cumbersome.

Currently, it is natural to switch to Navigator to do this kind of operation.
BTW, why is it being removed? I haven't really found a bug discussing the reasons for it. Is there a master bug for its removal, where missing feature bugs like this can be linked to?
Comment 1 Rolf Theunissen CLA 2019-10-14 03:35:45 EDT
The master bug is Bug 550379, the discussion is in Bug 549953.
Comment 2 Mickael Istria CLA 2019-10-14 03:43:14 EDT
I'm wondering whether this is instead something JDT or LTK should provide: from a "specialized" rename wizard, always show a link to "Plain resource rename" that would bring the default wizard.