Skip to main content



      Home
Home » Newcomers » Newcomers » Keystroke for Goto (or Open) Implementation
Keystroke for Goto (or Open) Implementation [message #649161] Mon, 17 January 2011 18:08 Go to next message
Eclipse UserFriend
I want the equivalent of CTL-B in Intellij, which navigates to the appropriate location based on what' underneath the cursor:

if what's under the cursor is a Type then navigate to that type

if what's under the cursor is a method than navigate to that method


The Eclipse Key commands do not seem to work. I have tried the following:

Open Declaration (in windows) CTL-B (nothing hapens)

i've also tried various other keystrokes in case there's a bug specifically with CTL-B: but none of them work.

Re: Keystroke for Goto (or Open) Implementation [message #649177 is a reply to message #649161] Mon, 17 January 2011 22:00 Go to previous messageGo to next message
Eclipse UserFriend
On 1/18/2011 4:38 AM, Stephen wrote:
> I want the equivalent of CTL-B in Intellij, which navigates to the
> appropriate location based on what' underneath the cursor:
>
> if what's under the cursor is a Type then navigate to that type
>
> if what's under the cursor is a method than navigate to that method
>
>
> The Eclipse Key commands do not seem to work. I have tried the following:
>
> Open Declaration (in windows) CTL-B (nothing hapens)
>
> i've also tried various other keystrokes in case there's a bug
> specifically with CTL-B: but none of them work.
>
>
In Eclipse Open Declaration is bound to F3 by default. You can assign a
different key via Window > Preferences > General > Keys.
Re: Keystroke for Goto (or Open) Implementation [message #649182 is a reply to message #649177] Mon, 17 January 2011 22:32 Go to previous messageGo to next message
Eclipse UserFriend

Hi thanks for the reply.

As mentioned in my original post, I have looked into the existing keystrokes (that are not working) as well as tried to add new ones.

If you are saying that F3 is supposed to do the two actions I mentioned, well it is not. Nothing happens. Neither are the additional options that I tried.

I do see the focus going away from the editor window. But to where, i'm not sure. In any case nothing happens/changes in the editor itself. In particular no navigation occurs.
Re: Keystroke for Goto (or Open) Implementation [message #649186 is a reply to message #649182] Mon, 17 January 2011 23:04 Go to previous messageGo to next message
Eclipse UserFriend
On 1/18/2011 9:02 AM, Stephen wrote:
>
> Hi thanks for the reply.
>
> As mentioned in my original post, I have looked into the existing
> keystrokes (that are not working) as well as tried to add new ones.
> If you are saying that F3 is supposed to do the two actions I mentioned,
> well it is not. Nothing happens. Neither are the additional options that
> I tried.
>
> I do see the focus going away from the editor window. But to where, i'm
> not sure. In any case nothing happens/changes in the editor itself. In
> particular no navigation occurs.
Which build are you using ? Which OS ? Do any keystrokes work, e.g.
Ctrl+Shift+T (Open Type Dialog)? Only Open Declaration Command does not
work ?
Re: Keystroke for Goto (or Open) Implementation [message #649187 is a reply to message #649186] Mon, 17 January 2011 23:35 Go to previous messageGo to next message
Eclipse UserFriend
The Ctl -sh-T (open type) does work fine. I am not at that computer so can not give precise build - but I believe it is 3.5.2. Will confirm tomorrow.
Re: Keystroke for Goto (or Open) Implementation [message #649304 is a reply to message #649187] Tue, 18 January 2011 11:41 Go to previous messageGo to next message
Eclipse UserFriend

i just confirmed yes it is 3.5.2, running on windows 64 bit (server 2003)
Re: Keystroke for Goto (or Open) Implementation [message #649306 is a reply to message #649304] Tue, 18 January 2011 11:59 Go to previous message
Eclipse UserFriend
Discovered what was the issue here.

There were apparently conflicting key mappings for CTL-B. One was for groovy which I do not use, so I don't know why it were considered 'conflicting'. In any case Eclipse could not decide what to do and ended up doing nothing.

After removing the mapping for Groovy the behavior is now as expected.
Previous Topic:elipse and myeclipse
Next Topic:Excluding a path from validation
Goto Forum:
  


Current Time: Fri Nov 07 23:44:38 EST 2025

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

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

Back to the top