In Code:
System.out.println("myPackage.MyClass");
In Eclipse Console:
myPackage.MyClass.myMethod
I want to click on the output (myPackage.MyClass.myMethod) in Console and it directly shows the corresponding method, similar to what happens for exception stack traces. Any Idea?
解决方案
The hyperlinking for exception stack traces is based on the file name and line number given at the end of the line. E.g.
Stack trace:
org.eclipse.jface.internal.databinding.provisional.BindingException: string property does not have a read method.
at org.eclipse.jface.internal.databinding.internal.beans.JavaBeanObservableValue.doGetValue(JavaBeanObservableValue.java:102)
at org.eclipse.jface.internal.databinding.internal.beans.JavaBeanObservableValue.setValue(JavaBeanObservableValue.java:83)
For the first stack trace, it is