Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Refactor rename shortcut
Refactor rename shortcut [message #252735] Thu, 17 April 2008 04:52 Go to next message
Eclipse UserFriend
Originally posted by: pgodeau_nosp.m_sapex-alma.com

Hello,
I try to use the refactor-rename shortcut found in the docs
(Alt+Shift+R) but it doesn't work. Instead, it opens the Run menu.
I didn't reconfigure the key shortcuts.
What did I miss?
Thanks!

--
Patrick
Re: Refactor rename shortcut [message #252744 is a reply to message #252735] Thu, 17 April 2008 09:32 Go to previous messageGo to next message
Eclipse UserFriend
Patrick Godeau wrote:
> Hello,
> I try to use the refactor-rename shortcut found in the docs
> (Alt+Shift+R) but it doesn't work. Instead, it opens the Run menu.
> I didn't reconfigure the key shortcuts.
> What did I miss?
> Thanks!
>
Hi Patrick. I'm assuming you're running 3.3.x? If you go to
Preferences/General/Keys, you can sort by Binding and see what command
is bound to Alt+Shift+R and change it (Rename / Refactor). You can also
press Restore Defaults to restore all of the defaults. I don't know why
it would have gotten changed. It's a handy feature. Hope this helps. Mark
Re: Refactor rename shortcut [message #252748 is a reply to message #252744] Thu, 17 April 2008 10:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pgodeau_nosp.m_sapex-alma.com

Le 17/04/2008 15:32, Mark Dexter a écrit :
> Patrick Godeau wrote:
>> Hello,
>> I try to use the refactor-rename shortcut found in the docs
>> (Alt+Shift+R) but it doesn't work. Instead, it opens the Run menu.
>> I didn't reconfigure the key shortcuts.
>> What did I miss?
>> Thanks!
>>
> Hi Patrick. I'm assuming you're running 3.3.x? If you go to
> Preferences/General/Keys, you can sort by Binding and see what command
> is bound to Alt+Shift+R and change it (Rename / Refactor). You can also
> press Restore Defaults to restore all of the defaults. I don't know why
> it would have gotten changed. It's a handy feature. Hope this helps. Mark

Hi Mark.
I use Eclipse 3.2 (because I need the language packs).
I've checked in Preferences, and Alt+Shift+R is bound to 6 different
"rename" commands, from JSP, PyDev, CDT, PHP, Java, Ant (yes I like to
experiment many features). But none is bound to the Run menu.
Restoring the defaults changed nothing.
Then, I remarked that this Run menu came with the TPTP feature, which I
disabled. After that, the shortcut did nothing at all! So I came back to
Preferences/Keys/Modify, and noticed that the shortcut, when "in
windows" is bound to 2 "rename-refactoring" commands, one for PHP, one
for Java. When I click the first, the other gets selected! So I can't
delete the PHP shortcut! OK, let's disable the PHP feature (PDT),
restart, and... hurray! now it works. Also "Alt+Shift+R" has come back
in the menu entry.
There is probably a shortcut conflict between PDT and JDT, but I don't
know if it was fixed in recent versions. Should I file a bug report?

--
Patrick
Re: Refactor rename shortcut [message #252752 is a reply to message #252748] Thu, 17 April 2008 12:24 Go to previous message
Eclipse UserFriend
"Patrick Godeau" <pgodeau_nosp@m_sapex-alma.com> wrote in message
news:fu7m0e$gnj$1@build.eclipse.org...
> There is probably a shortcut conflict between PDT and JDT, but I don't
> know if it was fixed in recent versions. Should I file a bug report?


Before filing a bug report, ideally you should try it in Eclipse 3.3.2 and
see if it has already been fixed.

If it is not possible for you to use 3.3.2, because of the language pack
issue, then you should go ahead and file the bug report; but make sure you
set the "found in" version correctly, and mention in the bug description
that you're talking about Eclipse 3.2.
Previous Topic:parse a simple java file
Next Topic:Adding a field/method without parsing the entire source
Goto Forum:
  


Current Time: Fri Jul 18 06:19:21 EDT 2025

Powered by FUDForum. Page generated in 0.08526 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top