CTRL+click to open method declaration doesn't work on Eclipse 3.5 (Galileo) [closed]
Asked Answered
P

3

5

In a J2EE project Ctrl+click on methods (usually only local methods, ones that belong to the same class) doesn't jump to that method declaration. The eclipse project was created using Gradle so that might be an issue, also when Eclipse starts the log has the following exception:

A handler conflict occurred. This may disable some commands. Conflict for 'org.eclipse.wst.jsdt.ui.edit.text.java.open.editor':HandlerActivation(commandId=org.eclipse.wst.jsdt.ui.edit.text.java.open.editor, handler=ActionHandler(org.eclipse.wst.jsdt.ui.actions.OpenAction@c5f6db), expression=AndExpression(AndExpression(org.eclipse.ui.SubActionBars$1@fdd15b,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@38ba04)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f528ab)),sourcePriority=1064961) HandlerActivation(commandId=org.eclipse.wst.jsdt.ui.edit.text.java.open.editor, handler=ActionHandler(org.eclipse.wst.jsdt.ui.actions.OpenAction@c5f6db), expression=AndExpression(AndExpression(org.eclipse.ui.SubActionBars$1@fdd15b,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@38ba04)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f528ab)),sourcePriority=1064961)

I am running eclipse on Fedora 12 distro

Palaearctic answered 10/5, 2010 at 16:58 Comment(4)
Does #697387 help?Prolix
Not really, or I can't see howPalaearctic
Did you install it from a zip file or through the Fedorapackage systemMavilia
It can happen some times, just try restarting your eclipse. It should work.Polyhymnia
S
7

it seems you didn't put the source code into your classpath. just right click you source code package and select "build path -> use as source folder"

Swansea answered 3/11, 2011 at 8:24 Comment(1)
For pydev project "PyDev -> Set as source folder"Harappa
P
6

I could always just press F3.

Pentadactyl answered 10/5, 2010 at 17:2 Comment(2)
Yes that works, but less desired :)Palaearctic
cnotrol + click is way more popularStonewall
U
1

If your code contains error it will not let you to do ctrl+click to see the defination so... try to remove the errors first

Unthoughtof answered 26/10, 2012 at 8:47 Comment(1)
I am using indigo I removed a } from my file and did ctrl+click on any method which was underlined red but it did take me to the defination of that method. Is that what you are trying to say wont happen?Materially

© 2022 - 2024 — McMap. All rights reserved.