Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Format-Keys on Linux are not working
Format-Keys on Linux are not working [message #214635] Tue, 13 September 2005 12:23 Go to next message
Eclipse UserFriend
Originally posted by: torsten.tkunkel.de

Hi,

I've a strange problem. The shortkey for format code does not work
correctly, everytime I press Control-Shift-F (like on Windows) at the
cursors position a underlined F is displayed, when releasing the keys,
it dissapears.
I think the X-Server catches the keycombination, but Control-Shift-S for
organize imports works fine.
In order to get format code I've to hit escape and then press Control F
together.

The keymapping shows:
Category: Source
Command: Format
Key Sequence: Shift+Ctrl+F
When: Editing Java Source

and

Category: Source
Command: Format
Key Sequence: Esc Ctrl+F
When: Editing Java Source

I'm nearly shure the problem isn't eclipse, but I don't know where to
edit this behavior, so I hope someone has solved this already :)

Does anyone know something about this?

Greetings

Torsten
Re: Format-Keys on Linux are not working [message #214686 is a reply to message #214635] Wed, 14 September 2005 07:48 Go to previous messageGo to next message
Tom Hofmann is currently offline Tom HofmannFriend
Messages: 770
Registered: July 2009
Senior Member
This is a known GTK feature that happens for Ctrl+Shift+[A-F]

-tom


> I've a strange problem. The shortkey for format code does not work
> correctly, everytime I press Control-Shift-F (like on Windows) at the
> cursors position a underlined F is displayed, when releasing the keys,
> it dissapears.
> I think the X-Server catches the keycombination, but Control-Shift-S for
> organize imports works fine.
> In order to get format code I've to hit escape and then press Control F
> together.
>
> The keymapping shows:
> Category: Source
> Command: Format
> Key Sequence: Shift+Ctrl+F
> When: Editing Java Source
>
> and
>
> Category: Source
> Command: Format
> Key Sequence: Esc Ctrl+F
> When: Editing Java Source
>
> I'm nearly shure the problem isn't eclipse, but I don't know where to
> edit this behavior, so I hope someone has solved this already :)
>
> Does anyone know something about this?
>
> Greetings
>
> Torsten
Re: Format-Keys on Linux are not working [message #214722 is a reply to message #214686] Wed, 14 September 2005 15:00 Go to previous messageGo to next message
Jim McMaster is currently offline Jim McMasterFriend
Messages: 21
Registered: July 2009
Junior Member
At 9/14/2005 1:48:02 AM, Tom Eicher wrote:

> This is a known GTK feature that happens for Ctrl+Shift+[A-F]
>

Then why does CRTL-SHIFT-F work for the MyEclipseIDE XML editor?
Re: Format-Keys on Linux are not working [message #214738 is a reply to message #214722] Wed, 14 September 2005 16:56 Go to previous messageGo to next message
Tom Hofmann is currently offline Tom HofmannFriend
Messages: 770
Registered: July 2009
Senior Member
>>This is a known GTK feature that happens for Ctrl+Shift+[A-F]
> Then why does CRTL-SHIFT-F work for the MyEclipseIDE XML editor?

I think the keybinding infrastructure supports that type of bindings
when they are declared via the plug-in XML, but you cannot create the
binding via the key binding preference page.

-tom
Re: Format-Keys on Linux are not working [message #214803 is a reply to message #214686] Thu, 15 September 2005 12:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: news.tkunkel.de

Tom Eicher schrieb:
> This is a known GTK feature that happens for Ctrl+Shift+[A-F]

Hi Tom,

thankss for your information. Do you know if this is fix or if the keys
can be "cleared" in GTK's configs?

Torsten
Re: Format-Keys on Linux are not working [message #214810 is a reply to message #214803] Thu, 15 September 2005 12:41 Go to previous messageGo to next message
Markus KellerFriend
Messages: 294
Registered: July 2009
Senior Member
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=42009
and https://bugs.eclipse.org/bugs/show_bug.cgi?id=46580

Markus

Torsten Kunkel wrote:

> Tom Eicher schrieb:
>
>> This is a known GTK feature that happens for Ctrl+Shift+[A-F]
>
>
> Hi Tom,
>
> thankss for your information. Do you know if this is fix or if the keys
> can be "cleared" in GTK's configs?
>
> Torsten
Re: Format-Keys on Linux are not working [message #214824 is a reply to message #214738] Thu, 15 September 2005 13:41 Go to previous messageGo to next message
Jim McMaster is currently offline Jim McMasterFriend
Messages: 21
Registered: July 2009
Junior Member
At 9/14/2005 10:56:24 AM, Tom Eicher wrote:

> > > This is a known GTK feature that happens for Ctrl+Shift+[A-F]
> > Then why does CRTL-SHIFT-F work for the MyEclipseIDE XML editor?
>
> I think the keybinding infrastructure supports that type of bindings
> when they are declared via the plug-in XML, but you cannot create the
> binding via the key binding preference page.
>
> -tom

I guess I am dense. If the keys work, why won't the binding preference
page let me select the key?

--
Re: Format-Keys on Linux are not working [message #214844 is a reply to message #214810] Thu, 15 September 2005 18:21 Go to previous message
Eclipse UserFriend
Originally posted by: torsten.tkunkel.de

Markus Keller schrieb:
> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=42009
> and https://bugs.eclipse.org/bugs/show_bug.cgi?id=46580

Nice, really nice.
Now it seems I understand the problem and it looks like gtk will be
"fixed" or better improved.
So lets wait :)
Previous Topic:Adding your own ANT files as builders
Next Topic:How to recreate JDT indices?
Goto Forum:
  


Current Time: Wed Jan 15 12:05:34 GMT 2025

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

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

Back to the top