Cannot go to the definition (F3) using Eclipse 3.2 plugin

Having trouble installing Oxygen? Got a bug to report? Post it all here.
spopescu
Posts: 14
Joined: Fri Sep 30, 2005 1:55 am

Cannot go to the definition (F3) using Eclipse 3.2 plugin

Post by spopescu »

Hi All,

With Eclipse 3.1 I was able to go to the definition of a local XQUERY method, by using F3 at the method invocation point.

When trying the same with Eclipse 3.2 I get a popup error saying

"Cannot open the specified file: ..."

TIA,

Serban.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

Did you try with the version 7.2 of the Eclipse plugin for Eclipse 3.2 or for Eclipse 3.1 ? Both distributions are available on the Download page.

Regards,
Sorin
spopescu
Posts: 14
Joined: Fri Sep 30, 2005 1:55 am

Post by spopescu »

sorin wrote:Hello,

Did you try with the version 7.2 of the Eclipse plugin for Eclipse 3.2 or for Eclipse 3.1 ? Both distributions are available on the Download page.

Regards,
Sorin
With 7.2 for Eclipse 3.2
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

I think you refer to the Show Definition action available for XML, XML Schema, Relax NG files. This action is not available for XQuery files. The F3 key by default invokes the Open File action which opens the file at cursor position. You can see this in Window -> Preferences -> General / Keys, the oXygen XML Editor category, the Open File command name. If you get the error "Cannot open the specified file" the file with the path and name as the token at the cursor position does not exist. Can you post an XQuery sample file and specify the line and the cursor position for which you say that F3 goes to the definition of the method in Eclipse 3.1 ?

Regards,
Sorin
Post Reply