views:

1001

answers:

2

Brace highlighting works with the default color scheme in VS 2008. I downloaded and I'm currently using the VibrantInk theme and the braces aren't highlighting. I've gone through the options even changed the ones that said brace highlighting and nothing. Any ideas as to whats going on?

Also, when I am typing out strings and I put the last quote, the text goes completely black (against a black background) until I space or perform some other action then it goes to being green. This is mildly annoying. Any clues as to what's going on here?

A: 

Check the Tools | Options | Text Editor | General | Automatic Delimiter highlighting setting to make sure it is on.

Robert Kozak
Thanks, that setting was set properly though.
Pete
+2  A: 

I use a Vibrant Ink derivative and brace matching works for me. In the Fonts and Colors option, I have "Brace Matching (Rectangle): Item Background" set to the color I want to highlight the braces with.

To fix the second issue, go to Tools | Options | Fonts and Colors and then just hit save. At least, that fixes it for me. It's very annoying however to have to do this and the bug shows up again seemingly randomly. (Edit: I just realized that many of the colors were set to "Automatic". I've explicitly set them to a color now in hopes that this will solve the disappearing text issue.)

I've experienced a few issues with certain settings not being saved no matter how many times I set them (particularly auto inserting quotes in HTML attributes which I turn on, but never sticks). This happens on multiple machines too. I think VS2008 just has some bugs for persisting some settings. Haven't checked Connect on this yet though.

John Sheehan
Thanks, I changed the brace matching rectangle option and that fixed it. The issue with the strings changing color to something I couldn't see also "magically" went away. We're all peachy now.
Pete
The disappearing strings will be back, I promise you (it shows up for me about once a day)
John Sheehan