How to find the matching "}"? [message #206047] |
Thu, 19 April 2007 13:13 |
Eclipse User |
|
|
|
Originally posted by: www.nospam.net
Hi,
In Eclipse, I found that I can move the cursor behind "}" and the
corresponding "{" will be highlighted by gray color. But the problem is:
if the "{" is a couple hundred lines up, I have no idea where to search
for the tiny grayed "{".
In Vi editor, if I want to find the matching "}", I can move the cursor
over the "}" and press "Shift" and % at the same time, the cursor will
jump to its corresponding "{", no matter where it is.
|
|
|
Re: How to find the matching "}"? [message #206054 is a reply to message #206047] |
Thu, 19 April 2007 13:32 |
Eclipse User |
|
|
|
Originally posted by: valere.fedronic.ext.streamezzo.com
Ctrl+Shift+P
Preferences>>keys>> navigation | goto matching bracket
valere.
www wrote:
> Hi,
>
> In Eclipse, I found that I can move the cursor behind "}" and the
> corresponding "{" will be highlighted by gray color. But the problem is:
> if the "{" is a couple hundred lines up, I have no idea where to search
> for the tiny grayed "{".
>
> In Vi editor, if I want to find the matching "}", I can move the cursor
> over the "}" and press "Shift" and % at the same time, the cursor will
> jump to its corresponding "{", no matter where it is.
|
|
|
Re: How to find the matching "}"? [message #206061 is a reply to message #206047] |
Thu, 19 April 2007 13:38 |
Eclipse User |
|
|
|
Originally posted by: irbull.cs.uvic.ca
ctrl-shift-p seems to work.
cheers,
ian
www wrote:
> Hi,
>
> In Eclipse, I found that I can move the cursor behind "}" and the
> corresponding "{" will be highlighted by gray color. But the problem is:
> if the "{" is a couple hundred lines up, I have no idea where to search
> for the tiny grayed "{".
>
> In Vi editor, if I want to find the matching "}", I can move the cursor
> over the "}" and press "Shift" and % at the same time, the cursor will
> jump to its corresponding "{", no matter where it is.
|
|
|
|
Powered by
FUDForum. Page generated in 0.09433 seconds