Hey, simple question...is there a way in Visual Studio 2005 to select text between brackets? Like theseI searched the web some time ago but only found some wierd keycombination that I could not reproduce.:PCode:{}
This is a discussion on Bracket select within the C++ Programming forums, part of the General Programming Boards category; Hey, simple question...is there a way in Visual Studio 2005 to select text between brackets? Like these Code: {} I ...
Hey, simple question...is there a way in Visual Studio 2005 to select text between brackets? Like theseI searched the web some time ago but only found some wierd keycombination that I could not reproduce.:PCode:{}
Actually those are braces.
Anyways, what exactly are you trying to do?Code:() = parentheses, [] = brackets, {} = braces
How do you want to select the text? You mean in the editor or programatically...?
I don't know of any.
Ctrl-} allows you to move the cursor between them, but I don't know any way to select that text.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
Hey sorry for the delay, thanks for the replies!
I am using a swedish keyboard and the } sign is at Alt Gr-0 on that. Is it not like that on an english keyboard? I can't get Ctrl-} or Shift-Ctrl-} working in any way...
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
AFAIK, those are only the default key mappings. You should be able to remap to whatever you like.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
So does anyone know what it's actually called? I didn't find it during a fast search through the Edit menu where most such things lie.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
Gods no. How horrible :/
English keyboards are horrible. Keys and things being everywhere they shouldn't be.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
> English keyboards are horrible. Keys and things being everywhere they shouldn't be.
When I worked in Finland, I bought a UK keyboard with me because the native keyboards are just too weird
Spanish keyboards are nearly as bad, but I wasn't there for very long.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
It just goes to show that don't use a keyboard other than your native keyboard![]()
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
>> It's probably shift-Ctrl-} then.
I can't believe I never tried that. Thanks.