Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to disable the "open declaration/implementation" popup menu
How to disable the "open declaration/implementation" popup menu [message #540343] Tue, 15 June 2010 18:09 Go to next message
Richard Hassinger is currently offline Richard HassingerFriend
Messages: 3
Registered: June 2010
Junior Member
Sometime in the past year a "feature" snuck into eclipse (perhaps 3.6M*) which tends to get in my way. When you hold down ctrl/cmd over a method, a two-line menu appears with the options "open declaration" and "open implementation". The problem is this menu often pops up as I'm about to reach the piece of code I wanted to jump to and winds up covering it up. So I have to release, move back over it with my mouse and try again. I never need the menu, I just want to jump to that method with a ctrl/cmd-click. Very annoying. Usually these things can be disabled somewhere but I can't figure out where. Is this menu hard-coded active in the editor?
Thanks for any help.
Re: How to disable the "open declaration/implementation" popup menu [message #540347 is a reply to message #540343] Tue, 15 June 2010 18:42 Go to previous messageGo to next message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
Registered: July 2009
Senior Member
On 6/15/2010 11:39 PM, Richard Hassinger wrote:
> Sometime in the past year a "feature" snuck into eclipse (perhaps 3.6M*)
> which tends to get in my way. When you hold down ctrl/cmd over a method,
> a two-line menu appears with the options "open declaration" and "open
> implementation". The problem is this menu often pops up as I'm about to
> reach the piece of code I wanted to jump to and winds up covering it up.
> So I have to release, move back over it with my mouse and try again. I
> never need the menu, I just want to jump to that method with a
> ctrl/cmd-click. Very annoying. Usually these things can be disabled
> somewhere but I can't figure out where. Is this menu hard-coded active
> in the editor?
> Thanks for any help.
To open a method declaration - select method > Press F3. Is this what
you want to do?
Re: How to disable the "open declaration/implementation" popup menu [message #540354 is a reply to message #540347] Tue, 15 June 2010 19:03 Go to previous messageGo to next message
Richard Hassinger is currently offline Richard HassingerFriend
Messages: 3
Registered: June 2010
Junior Member
Deepak Azad wrote on Tue, 15 June 2010 14:42
On 6/15/2010 11:39 PM, Richard Hassinger wrote:
To open a method declaration - select method > Press F3. Is this what
you want to do?


No, I want the menu to stop showing up.
Re: How to disable the "open declaration/implementation" popup menu [message #540406 is a reply to message #540343] Wed, 16 June 2010 04:04 Go to previous messageGo to next message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
Registered: July 2009
Senior Member
On 6/15/2010 11:39 PM, Richard Hassinger wrote:
> Sometime in the past year a "feature" snuck into eclipse (perhaps 3.6M*)
> which tends to get in my way. When you hold down ctrl/cmd over a method,
> a two-line menu appears with the options "open declaration" and "open
> implementation". The problem is this menu often pops up as I'm about to
> reach the piece of code I wanted to jump to and winds up covering it up.
I did not understand why you need to press the ctrl key while moving the
mouse to go to some code.

> So I have to release, move back over it with my mouse and try again. I
> never need the menu, I just want to jump to that method with a
> ctrl/cmd-click.
This sounds like you want to open the method declaration..F3 is the key
for that.

Very annoying. Usually these things can be disabled
> somewhere but I can't figure out where. Is this menu hard-coded active
> in the editor?
> Thanks for any help.
I do not think there is a preference to disable that menu.
Re: How to disable the "open declaration/implementation" popup menu [message #540457 is a reply to message #540343] Wed, 16 June 2010 08:32 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Richard Hassinger wrote:
> Sometime in the past year a "feature" snuck into eclipse (perhaps
> 3.6M*) which tends to get in my way. When you hold down ctrl/cmd over
> a method, a two-line menu appears with the options "open declaration"
> and "open implementation". The problem is this menu often pops up as
> I'm about to reach the piece of code I wanted to jump to
Out of the box hyperlinking (and hence the pop-up) only happens when the
'Ctrl' modifier is pressed, so my question: why do you press the
modifier when you want to jump to code?

Go to the General > Editors > Text Editors > Hyperlinking preference
page and disable the 'Open Implementation' link kind (or assign a
different modifier to it).

HTH
Dani
> and winds up covering it up. So I have to release, move back over it
> with my mouse and try again. I never need the menu, I just want to
> jump to that method with a ctrl/cmd-click. Very annoying. Usually
> these things can be disabled somewhere but I can't figure out where.
> Is this menu hard-coded active in the editor?
> Thanks for any help.
Re: How to disable the "open declaration/implementation" popup menu [message #540513 is a reply to message #540457] Wed, 16 June 2010 12:42 Go to previous messageGo to next message
Richard Hassinger is currently offline Richard HassingerFriend
Messages: 3
Registered: June 2010
Junior Member
Dani Megert wrote on Wed, 16 June 2010 04:32
Richard Hassinger wrote:
> Sometime in the past year a "feature" snuck into eclipse (perhaps
> 3.6M*) which tends to get in my way. When you hold down ctrl/cmd over
> a method, a two-line menu appears with the options "open declaration"
> and "open implementation". The problem is this menu often pops up as
> I'm about to reach the piece of code I wanted to jump to
Out of the box hyperlinking (and hence the pop-up) only happens when the
'Ctrl' modifier is pressed, so my question: why do you press the
modifier when you want to jump to code?

Go to the General > Editors > Text Editors > Hyperlinking preference
page and disable the 'Open Implementation' link kind (or assign a
different modifier to it).

HTH
Dani
> and winds up covering it up. So I have to release, move back over it
> with my mouse and try again. I never need the menu, I just want to
> jump to that method with a ctrl/cmd-click. Very annoying. Usually
> these things can be disabled somewhere but I can't figure out where.
> Is this menu hard-coded active in the editor?
> Thanks for any help.


I'm not sure why your question is a question at all. I want to jump to the code behind a method, so I hold down ctrl and click on that method. I don't want the hyperlinking feature gone, just the useless menu that covers up code and gets in the way. The hyperlinking feature has been around for several major versions so I'm very accustomed to using it. It's the recently added, javascript-like menu that I want to go away.

Now that I've tinkered with it, I found that I can get rid of the menu by removing the "open implementation" link from the preference pane you referred to. Since there is only one action it doesn't bother to display the menu.

[Updated on: Wed, 16 June 2010 12:49]

Report message to a moderator

Re: How to disable the "open declaration/implementation" popup menu [message #540600 is a reply to message #540513] Wed, 16 June 2010 15:51 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Richard Hassinger wrote:
> Dani Megert wrote on Wed, 16 June 2010 04:32
>> Richard Hassinger wrote:
>> > Sometime in the past year a "feature" snuck into eclipse (perhaps >
>> 3.6M*) which tends to get in my way. When you hold down ctrl/cmd over
>> > a method, a two-line menu appears with the options "open
>> declaration" > and "open implementation". The problem is this menu
>> often pops up as > I'm about to reach the piece of code I wanted to
>> jump to Out of the box hyperlinking (and hence the pop-up) only
>> happens when the 'Ctrl' modifier is pressed, so my question: why do
>> you press the modifier when you want to jump to code?
>>
>> Go to the General > Editors > Text Editors > Hyperlinking preference
>> page and disable the 'Open Implementation' link kind (or assign a
>> different modifier to it).
>>
>> HTH
>> Dani
>> > and winds up covering it up. So I have to release, move back over
>> it > with my mouse and try again. I never need the menu, I just want
>> to > jump to that method with a ctrl/cmd-click. Very annoying.
>> Usually > these things can be disabled somewhere but I can't figure
>> out where. > Is this menu hard-coded active in the editor?
>> > Thanks for any help.
>
>
> I'm not sure why your question is a question at all. I want to jump to
> the code behind a method, so I hold down ctrl and click on that
> method. I don't want the hyperlinking feature gone, just the useless
> menu that covers up code and gets in the way.
Mmh, but why does it matter that it hides the code if you want to jump
to the declaration of that method anyway? Also, didn't get my help
regarding the preference page help?

Dani
> The hyperlinking feature has been around for several major versions so
> I'm very accustomed to using it. It's the recently added,
> javascript-like menu that I want to go away.
Re: How to disable the "open declaration/implementation" popup menu [message #541454 is a reply to message #540406] Mon, 21 June 2010 09:07 Go to previous messageGo to next message
Raksha Vasisht is currently offline Raksha VasishtFriend
Messages: 2
Registered: July 2009
Junior Member
Deepak Azad wrote:
> On 6/15/2010 11:39 PM, Richard Hassinger wrote:
>> Sometime in the past year a "feature" snuck into eclipse (perhaps 3.6M*)
>> which tends to get in my way. When you hold down ctrl/cmd over a method,
>> a two-line menu appears with the options "open declaration" and "open
>> implementation". The problem is this menu often pops up as I'm about to
>> reach the piece of code I wanted to jump to and winds up covering it up.
> I did not understand why you need to press the ctrl key while moving the
> mouse to go to some code.
>
>> So I have to release, move back over it with my mouse and try again. I
>> never need the menu, I just want to jump to that method with a
>> ctrl/cmd-click.
> This sounds like you want to open the method declaration..F3 is the key
> for that.
>
> Very annoying. Usually these things can be disabled
>> somewhere but I can't figure out where. Is this menu hard-coded active
>> in the editor?
>> Thanks for any help.
> I do not think there is a preference to disable that menu.
Re: How to disable the "open declaration/implementation" popup menu [message #660528 is a reply to message #540513] Fri, 18 March 2011 21:30 Go to previous messageGo to next message
Jerry Boonstra is currently offline Jerry BoonstraFriend
Messages: 1
Registered: March 2011
Junior Member
Thanks! That worked for me.
Re: How to disable the "open declaration/implementation" popup menu [message #660557 is a reply to message #540343] Sat, 19 March 2011 10:55 Go to previous message
shanky sohar is currently offline shanky soharFriend
Messages: 13
Registered: January 2011
Junior Member
Check this link...

http://www.shanky4friends.com/Shankyblog/tute/hyperlink.jsp
Previous Topic:How to extend default eclipse java editor
Next Topic:[Eclipse] Keeping workspace and project separate + ant integration.
Goto Forum:
  


Current Time: Thu Apr 25 10:55:16 GMT 2024

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

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

Back to the top