Keystroke to go to open brace

If you are at a closing brace, is there a way to jump to the line with
the open brace?

7 comments

Ctrl + [

"Norris Shelton" <nunya@nunya.net> wrote in message
news:ee70km$fbh$1@is.intellij.net...

If you are at a closing brace, is there a way to jump to the line with the
open brace?



0

Now that would be a cool feature of the KeyPromoter plugin. "Oh, I see you
had your cursor on the closing brace then used your mouse to jump to the
opening brace. You should have used Ctrl + [

"Brad L" <no@no.no> wrote in message news:ee73kj$vib$1@is.intellij.net...

Ctrl + [

>

"Norris Shelton" <nunya@nunya.net> wrote in message
news:ee70km$fbh$1@is.intellij.net...

>> If you are at a closing brace, is there a way to jump to the line with
>> the open brace?
>



0

I hate this - there is no way to type "Ctrl + ]" on a german keyboard because to enter "]" alone you already have to use "Alt Gr" key.

I haven't found the action in the keymap - how's it called?

0

I have the same problem with my norwegian keyboard. Although I prefer to use the default keyboard shortcuts, I've had to remap these ones.

0

It is called:
Move Caret to Code Block Start
and
Move Caret to Code Block End


Bas

0

Hi,
Not sure that in this case action will be invoked.
I was thinking about this but there is some troubles iirc.
I'll investigate it one more time, may be it will be posible to track mouse invoked actions and for them Shortcuts will be displayed, but can't promise that it possible. Cause such info present in ActionEvent but not in AnAction :(

Thanks,
Dmitry

0

+1

Brad L wrote:

Now that would be a cool feature of the KeyPromoter plugin. "Oh, I see you
had your cursor on the closing brace then used your mouse to jump to the
opening brace. You should have used Ctrl + [

>

"Brad L" <no@no.no> wrote in message news:ee73kj$vib$1@is.intellij.net...

>> Ctrl + [
>>
>> "Norris Shelton" <nunya@nunya.net> wrote in message
>> news:ee70km$fbh$1@is.intellij.net...
>>
>>> If you are at a closing brace, is there a way to jump to the line with
>>> the open brace?
>>>
>>
>
>

0

Please sign in to leave a comment.