This project has moved and is read-only. For the latest updates, please go here.


Can't change color of brace highlight


Working with VS2012, and PTVS 1.5RC.
I'm using a black background on the VS editor. I can barely see the brace highlight color.
Changing the color from 'Fonts and colors' in VS options menu has no effect.


dinov wrote Sep 27, 2012 at 8:44 PM

You should be able to change the color of either the "Python operator" or "Python grouping" to change the color of these. Python grouping is set to the default color which is inherited from Python operator, so if you change operator then grouping and operator chars will be the same color, or you can set grouping directly to a different color. Let us know if that doesn't work.

Ptools wrote Oct 19, 2012 at 11:58 PM

** Closed by Ptools 10/19/2012 3:58PM

canman wrote Oct 21, 2012 at 6:24 PM

I think milkman7 was talking about the matching-brace highlight color, not the regular color of braces. The "Brace Matching (Highlight)" and "Brace Matching (Rectangle)" colors control this for eg C++, but they don't seem to apply to Python.

milkman7 wrote Oct 21, 2012 at 7:23 PM

Thanks canman,
You are right. That is what I've meant.

milkman7 wrote Oct 21, 2012 at 7:24 PM

matching-brace highlight color is not shown

Zooba wrote Oct 21, 2012 at 10:36 PM

We're currently ignoring those settings and using our own, and I'm not quite sure where we're getting our setting from either.

We may be able to find and import the C# TextMarkerTag for this, or we can reimplement ours to support using either the existing settings or our own (and to support changing the foreground, which doesn't happen at all).

tihocan wrote May 10, 2013 at 8:01 PM

Would be great to fix this, I was precisely trying to find out how to do brace matching with Python code, and it's only by reading this issue that I realized it was working -- just with a poorly chosen color.

oldbam wrote Sep 30, 2013 at 5:46 PM

It is almost impossible to see brace matching in dark theme of VS :-(

seva_ostapenko wrote Jan 16, 2014 at 10:19 PM

The issue is present in PTVS 2.0 on VS 2013 as well.

goodwincp wrote May 17, 2014 at 10:27 PM

The issue is still present on PTVS 2.1 on VS 2013. Nearly impossible to see the matching brace (parenthesis) when using the dark scheme. The current color looks to be just a few shades of grey lighter than the background and is barely visible.

It would be great if this could be changed in options somehow.

I would say that as a result, I am more likely to type opening can closing () at the same time, there back arrow in and type in between, which is probably a good habit anyways.

drmanac wrote Jun 20, 2014 at 6:56 PM

I'm also seeing this issue on PTVS 2.1 alpha in VS2013 and would love to have an option to change the brace matching. Once you start using nesting functions and method chaining it becomes even more important. Looking forward to an update to address this.