matching brace/bracket in C++ editor [message #146050] |
Wed, 25 May 2005 19:46 |
Eclipse User |
|
|
|
Originally posted by: vkdev.hotmail.com
In the CDT C++ editor how do you move the cursor to the matching
brace/bracket/parenthesis as the one that the cursor is currently on??
In the java editor, this can be accomplished by pressing Ctrl-Shift-P.
But I cannot figure out *anywhere* how to do this in the CDT C++ editor!
Thanks!
|
|
|
Re: matching brace/bracket in C++ editor [message #146085 is a reply to message #146050] |
Thu, 26 May 2005 08:23 |
Eclipse User |
|
|
|
Originally posted by: pgodeau.sapex-alma.nospam.com
vkdev a écrit :
> In the CDT C++ editor how do you move the cursor to the matching
> brace/bracket/parenthesis as the one that the cursor is currently on??
>
> In the java editor, this can be accomplished by pressing Ctrl-Shift-P.
> But I cannot figure out *anywhere* how to do this in the CDT C++ editor!
You can't :-(
It seems incredible, but I asked the same question last week in this
mailing, and no reply. So I filed this bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=96749
|
|
|
|
Re: matching brace/bracket in C++ editor [message #146449 is a reply to message #146102] |
Thu, 02 June 2005 11:44 |
Eclipse User |
|
|
|
Originally posted by: houlixin001.sohu.com
I think you need to setup a shortcut key.
(Tested In CDT 3.1M6)
enter into preference->Keys->Modify page
the command is C/C++ Source->Goto Matching Bracket
Assign a key to it!
Enjoy!
|
|
|
Re: matching brace/bracket in C++ editor [message #146462 is a reply to message #146449] |
Thu, 02 June 2005 12:27 |
Eclipse User |
|
|
|
Originally posted by: jason.wisnieski+eclipse.gmail.com
In CDT 2.1.1 on Eclipse 3.0.2, this isn't an option - what release of CDT
are you running?
I'm hopeful that this is a new or mistakenly dropped feature, because it's
driving me bonkers. In the meantime, a workaround:
Double-clicking a bracket highlights a block of text and moves the cursor
to the bottom. It's one-way, but it works in a pinch.
horace wrote:
> I think you need to setup a shortcut key.
> (Tested In CDT 3.1M6)
> enter into preference->Keys->Modify page
> the command is C/C++ Source->Goto Matching Bracket
> Assign a key to it!
> Enjoy!
|
|
|
Re: matching brace/bracket in C++ editor [message #146474 is a reply to message #146462] |
Thu, 02 June 2005 13:32 |
Eclipse User |
|
|
|
Originally posted by: jason.wisnieski+eclipse.gmail.com
Ah, apologies. I'd searched all over the downloads page and saw that the
lastest release of CDT is 2.1.1. I hadn't seen the 3.0 build page, on
which the milestone release is listed. I'll try that out, then.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04135 seconds