venta: (Default)
[personal profile] venta
A quick question for Visual Studio users (with an ancillary part for anyone who writes C/C++/possibly Java/possibly others). Throughout the following, I mean {} or () by "brackets" :)

Is there an option anywhere in Visual Studio which I can set which means that when I highlight/hover over a bracket, it will in some way highlight or indicate its matching friend ? Yes, I know when you first close your brackets they're in bold text, but that goes away as soon as you start typing something else.

I just asked a VS user here, and he (a) had no idea and (b) seemed baffled I'd want that. Now, up until this recent enforced flirtation with VS I've written C/C++ exclusively in Emacs. Which allows you to set all kinds of different manners of highlighting for brackets. I find it phenomenally useful and am currently boggled that any serious text editor intended for programming doesn't offer this.

So... is this a reasonable thing to want to, or a strange quirk of mine bred by too much use of Emacs ? And, more importantly, can I make VS do it ?

Irrelevantly, just because I want to know:

[Poll #1028846]

Date: 2007-07-27 07:52 pm (UTC)
From: [identity profile] mister-jack.livejournal.com
Is there an option anywhere in Visual Studio which I can set which means that when I highlight/hover over a bracket, it will in some way highlight or indicate its matching friend?

Which version of Visual Studio? And do you have Visual Assist?

IIRC (and I could check but can't be arsed) 2005 does this, but no earlier version does unless you install Visual Assist. ctrl-] will jump between them if you need it to.

Date: 2007-07-27 11:29 pm (UTC)
From: [identity profile] venta.livejournal.com
2005 and no, but you're correct about ctrl-]. Woo. Thanks - between you and [livejournal.com profile] waistcoatmark above I'm all sorted now.

Date: 2007-07-28 01:11 am (UTC)
From: [identity profile] mister-jack.livejournal.com
I'm so used to Visual Assist I can't remember what it does or doesn't give you.

Profile

venta: (Default)
venta

December 2025

S M T W T F S
 123456
78910111213
14151617181920
212223 24252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 26th, 2025 10:27 pm
Powered by Dreamwidth Studios