Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 525413 - [rename] bind rename with Alt+Shift+R instead with F2
Summary: [rename] bind rename with Alt+Shift+R instead with F2
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LSP4E (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Victor Rubezhny CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-30 01:54 EDT by Angelo ZERR CLA
Modified: 2022-02-04 09:12 EST (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 Angelo ZERR CLA 2017-09-30 01:54:39 EDT
F2 doesn't work. Alt+Shift+R should be used to execute rename like JDT does.
Comment 1 Mickael Istria CLA 2017-09-30 14:59:22 EDT
We should instead check why wouldn't F2 work. There is only one common "rename" command provided by platform. It's IMO much better to stick with this command rather than creating new ones.
Comment 2 Vlad Dumitrescu CLA 2017-09-30 15:16:16 EDT
I suppose it depends from which background one comes: like Angelo says, JDT uses Alt-Shift-R in the editor, not F2. The latter works however in the Navigator. I'm not sure how other tools assign the rename operation, but JDT is probably the most used one. 

I would argue that JDT did it wrong (probably for historical reasons), but I don't think we can ignore it. For me Alt-Shift-R is a reflex by now :-)
Comment 3 Vlad Dumitrescu CLA 2017-09-30 15:16:58 EDT
By which I mean, can we have both?
Comment 4 Eclipse Genie CLA 2021-10-28 12:38:15 EDT
New Gerrit change created: https://git.eclipse.org/r/c/lsp4e/lsp4e/+/187107
Comment 6 Mickael Istria CLA 2021-10-29 05:03:56 EDT
Thanks Victor for adding the shortcut.