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:{}
Printable View
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.
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...
AFAIK, those are only the default key mappings. You should be able to remap to whatever you like.
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.
Gods no. How horrible :/
English keyboards are horrible. Keys and things being everywhere they shouldn't be.
> 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.
It just goes to show that don't use a keyboard other than your native keyboard :)
>> It's probably shift-Ctrl-} then.
I can't believe I never tried that. Thanks.