Bug 548877 - [Project Explorer] Rename resource should be inline
Summary: [Project Explorer] Rename resource should be inline
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.13   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 4.14 M3   Edit
Assignee: Andrew Obuchowicz CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on: 543747 550560 550857
Blocks: 548042 549873 551196 551494
  Show dependency tree
 
Reported: 2019-07-02 11:33 EDT by Andrew Obuchowicz CLA
Modified: 2020-02-13 10:23 EST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Obuchowicz CLA 2019-07-02 11:33:48 EDT
It would be nice to be able to perform inline resource renaming from the Project Explorer.

Are there any cases for non-Java resources where the dialog (Rename Wizard) *must* be present? Ideally, the dialog should only appear in those scenarios.
Comment 1 Eclipse Genie CLA 2019-07-02 11:54:03 EDT
New Gerrit change created: https://git.eclipse.org/r/145320
Comment 2 Eclipse Genie CLA 2019-07-26 10:22:46 EDT
New Gerrit change created: https://git.eclipse.org/r/146672
Comment 3 Eclipse Genie CLA 2019-07-26 10:38:57 EDT
New Gerrit change created: https://git.eclipse.org/r/146673
Comment 6 Mickael Istria CLA 2019-08-02 09:23:17 EDT
Thanks Andrew.
Please add a note about it in the noteworthy doc.
Comment 7 Andrew Obuchowicz CLA 2019-08-02 10:48:34 EDT
(In reply to Mickael Istria from comment #6)
> Thanks Andrew.
> Please add a note about it in the noteworthy doc.

Of course :)
Comment 8 Eclipse Genie CLA 2019-08-06 15:17:57 EDT
New Gerrit change created: https://git.eclipse.org/r/147146
Comment 9 Eclipse Genie CLA 2019-08-06 15:40:22 EDT
New Gerrit change created: https://git.eclipse.org/r/147152
Comment 11 Mickael Istria CLA 2019-08-07 09:53:31 EDT
Thanks Andrew!
Comment 12 Lars Vogel CLA 2019-08-07 10:00:47 EDT
(In reply to Mickael Istria from comment #11)
> Thanks Andrew!

Thanks also from my side. 

AFAICS JDT still uses the dialog approach. Any plans to support this inline edit also for .java files? Could be similar to the refactoring in JDT which allows to rename the file inline and if desire to open a dialog which more options.
Comment 13 Mickael Istria CLA 2019-08-07 10:04:51 EDT
(In reply to Lars Vogel from comment #12)
> AFAICS JDT still uses the dialog approach. Any plans to support this inline
> edit also for .java files? Could be similar to the refactoring in JDT which
> allows to rename the file inline and if desire to open a dialog which more
> options.

JDT rename handler would need to be reworked.
Please open a new ticket for that.
Comment 14 Lars Vogel CLA 2019-08-08 05:00:18 EDT
(In reply to Mickael Istria from comment #13)
> JDT rename handler would need to be reworked.
> Please open a new ticket for that.

Bug 549873.
Comment 15 Eclipse Genie CLA 2019-09-16 09:20:48 EDT
New Gerrit change created: https://git.eclipse.org/r/149589
Comment 16 Eclipse Genie CLA 2019-09-16 09:24:06 EDT
New Gerrit change created: https://git.eclipse.org/r/149590
Comment 17 Eclipse Genie CLA 2019-09-16 09:46:45 EDT
New Gerrit change created: https://git.eclipse.org/r/149593
Comment 18 Noopur Gupta CLA 2019-09-16 09:51:36 EDT
Attached Gerrit patches to revert only the Platform UI part of the fix on master and R4_13_maintenance. Also, removed the online N&N entry from 4.13 news repo.
Comment 22 Andrey Loskutov CLA 2019-09-16 10:43:11 EDT
Note for the next implementation attempt: please see bug 550560 and especially bug 550560 comment 3.

*If* we want bring inline rename to Eclipse, a precondition is that this should *improve* user experience.

As of today, the new feature fails to reduce number of clicks/actions required to achieve "rename" use case, in fact it actually *increases* this number and also surprises the user by opening dialog box after inline rename was confirmed via "enter".

I have no solutions, but I have clear understanding what it should deliver:
F2 -> type new name -> enter => done. No extra dialogs / actions / clicks after "enter". So bug 550560 is a blocking one for this feature.
Comment 23 Dani Megert CLA 2019-09-16 12:43:52 EDT
> I have no solutions, but I have clear understanding what it should deliver:
> F2 -> type new name -> enter => done. No extra dialogs / actions / clicks
> after "enter". So bug 550560 is a blocking one for this feature.
Dialog is OK for me but then I don't want to get into inline editing before.
Comment 24 Alexandr Miloslavskiy CLA 2019-10-07 04:39:37 EDT
Depends on Bug 543747, see Bug 550857 Comment 25

If https://git.eclipse.org/r/150661 is reverted then Bug 543747 will probably no longer affect this.
Comment 25 Dani Megert CLA 2019-10-10 09:37:34 EDT
Removed milestone as no one reacted to https://www.eclipse.org/lists/eclipse-dev/msg11217.html.
Comment 26 Mickael Istria CLA 2019-11-07 10:05:28 EST
@Andrew: I think we're done here. Can you please (re)create the N&N entry?
Comment 27 Andrew Obuchowicz CLA 2019-11-07 10:17:39 EST
(In reply to Mickael Istria from comment #26)
> @Andrew: I think we're done here. Can you please (re)create the N&N entry?

For sure, will get to it as soon as possible.