Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to find the matching "}"?
How to find the matching "}"? [message #206047] Thu, 19 April 2007 13:13 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: How to find the matching "}"? [message #206067 is a reply to message #206047] Thu, 19 April 2007 13:40 Go to previous message
Eclipse UserFriend
Originally posted by: www.nospam.net

Thank you very much. Yes, Ctl-Shift-p works fine here, on Linux.
Previous Topic:Problems in retrieving results in BIRT viewer
Next Topic:Determining the dependency tree for a given jar?
Goto Forum:
  


Current Time: Thu Apr 25 22:22:59 GMT 2024

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

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

Back to the top