Eclipse 3.1, Oxygen 6.1 and F3

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
DavidPérez
Posts: 44

Eclipse 3.1, Oxygen 6.1 and F3

Wed Aug 17, 2005 11:12 am

I have redefined the F3 key to search next instance.

Eclipse 3.1 + Oxygen 5.1 did correctly use F3 to search next.

But when I hit F3 in Eclipse 3.1 + Oxygen 6.1, it tries to open a java file whose name corresponds to the word under the cursor!!!.

I have checked that F3 isn't assigned to any other command.
I think this is a bug.
george
Site Admin
Posts: 2100

Wed Aug 17, 2005 11:49 am

Hi David,

F3 is mapped in the xml editor scope to Open resource action (also available on the contextual menu).
To disable this mapping follow the steps below:
1. Go to the Window->Preferences dialog
2. Select General/Keys page
3. In the Command group select oXygen XML Editor for Category and Open resource for Name
4. In the Key Sequence group select XML Common Editor scope -- Open Resource and use the Remove action to remove it.

Best Regards,
George
DavidPérez
Posts: 44

Thu Aug 18, 2005 9:39 am

Thanks for your answer.

But F3 is not mapped to Open Resource in the XML scope.
As a matter of fact it isn't mapped to any key.
I think it is hardwired. :?:
DavidPérez
Posts: 44

Fri Aug 19, 2005 2:26 pm

Is there any workaround?
Is this a bug?
sorin_ristache
Posts: 4144

Re: Eclipse 3.1, Oxygen 6.1 and F3

Fri Aug 19, 2005 6:02 pm

Hello,

DavidPérez wrote:I have redefined the F3 key to search next instance.

Eclipse 3.1 + Oxygen 5.1 did correctly use F3 to search next.

But when I hit F3 in Eclipse 3.1 + Oxygen 6.1, it tries to open a java file whose name corresponds to the word under the cursor!!!.


DavidPérez wrote:Is there any workaround?
Is this a bug?


Use the normal procedure for assigning a key to the Find Next action:

1. Go to the Window->Preferences dialog
2. Select General/Keys page
3. In the Command group select Edit for Category and Find Next for Name
4. In the Key Sequence group press F3 for Name and select XML Common Editor scope for When
5. Press the Add button
6. Press the OK button

Best Regards,
Sorin
DavidPérez
Posts: 44

Mon Aug 22, 2005 10:21 am

Thanks Sorin.

I had the problem because the only use reported in Eclipse for the F3 key was:

- Scope: Editing text
- Command: Find next
- Key: F3

If I also add the other scope

- Scope: XML Common Editor
- Command: Find next
- Key: F3

now works ok. :D

Maybe the bug is not showing the assignment to the F3 key to the Open resource command. This has confused me.[/quote]
sorin_ristache
Posts: 4144

Mon Aug 22, 2005 12:13 pm

Hello,

DavidPérez wrote:Maybe the bug is not showing the assignment to the F3 key to the Open resource command. This has confused me.


All the key associations are listed in Preferences - General - Keys. It is the place where Eclipse lists all the associations and where <oXygen/> adds the categories oXygen XML Editor and XSLT Debugger and the editor scopes like XML Common Editor scope, XSD Editor scope, XSL Editor scope, etc.

Best regards,
Sorin

Return to “Common Problems”

Who is online

Users browsing this forum: adrian and 2 guests