Strange Coloration Issue

Using the current nightly build in VS2005, I just had a very
strange coloration issue. I had two instances of VS open and one of the
instances (used in a readonly capacity) lost the coloration schema. I
manually when into the Resharper -> Settings -> Color Identifiers and
unchecked, rechecked and the coloration schema reinitailized.

There is nothing much special about the two instances. The instance that
continued to work correctly is running about 179MB vs the one the lost the
schema was at 54.8 MB (according the Resharper memory indicator in the
status bars). Both instances had been restarted about 2 - 3 hours ago, and
had somewhere in the order of ~10 class files open at the time.

This is on a Duo Core 2.0GHZ, 4GB ram system running XP 32bit (yes, I know
that XP only reconizes 3GB). Total memory usage on the system is ~1.7GB.

David


10 comments
Comment actions Permalink

I am experiencing odd color behaviors too. I am using R#4.1 in VS 2008 SP1. I am using light colored text on a dark background so I have some custom colors set. I have "Color Identifiers" checked.

This is the issue I am having:
Sometimes some text in the text editor (C#) displays in strange colors like dark blue and purple. I cycle through all the colors under "Fonts and Colors" in VS.
I look at all the previews for all the color settings looking for an entry that has a purple text. I find none!

Then I go looking for an entry that has a blue text like the one I have. I find a single entry but it belongs to XAML ... something. I don't use XAML anywhere.
I decide it change the font color from that blue just for kicks. Low and behold the purple and text colors are gone from my editor and original colors are restored. It's as if the color change did a major color reset.
I find this behavior odd. I think this is R# related and not VS because it happens only when "Color Indetifiers" is checked. Well at least as far as my little testing has proved to be the case.

0
Comment actions Permalink

I opened a C# web application today and saw the same behavior. Initially an
undeclared variable was red as expected. I opened another code-behind file
to check another usage (no changes were made) and when I came back to the
original code-behind file the undeclared variable had a black background.

This is the first time I've seen this behavior, but I normally work on Web
Services and Windows Services applications instead of Web applications and
our Web Service applications are basically empty projects since we use
Spring.NET to redirect the URLs to service classes in standard .DLL
projects.

"David Williams" <daviddwilliams@earthlink.net> wrote in message
news:ga8shi$er6$1@is.intellij.net...

Using the current nightly build in VS2005, I just had a very
strange coloration issue. I had two instances of VS open and one of the
instances (used in a readonly capacity) lost the coloration schema. I
manually when into the Resharper -> Settings -> Color Identifiers and
unchecked, rechecked and the coloration schema reinitailized.

>

There is nothing much special about the two instances. The instance that
continued to work correctly is running about 179MB vs the one the lost the
schema was at 54.8 MB (according the Resharper memory indicator in the
status bars). Both instances had been restarted about 2 - 3 hours ago,
and had somewhere in the order of ~10 class files open at the time.

>

This is on a Duo Core 2.0GHZ, 4GB ram system running XP 32bit (yes, I know
that XP only reconizes 3GB). Total memory usage on the system is ~1.7GB.

>

David

0
Comment actions Permalink

I've never seen the coloring work properly in 4.1. Just scrolling up and down my page causes it to draw types in black whereas they normally draw in cyan.

0
Comment actions Permalink

From these comments, I would conclude the colorization in R# 4.1 is broken.

0
Comment actions Permalink

It's working for all of the machines in my team.

0
Comment actions Permalink

Hello David,

Do you have SP installed for VS2005? There was known issue in VS2005, when
it couldn't hold more than certain number of highlighting items. That was
fixed by MS in SP1, though we still receive issues like that from time to
time.

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


DW> Using the current nightly build in VS2005, I just had a
DW> very strange coloration issue. I had two instances of VS open and
DW> one of the instances (used in a readonly capacity) lost the
DW> coloration schema. I manually when into the Resharper -> Settings
DW> -> Color Identifiers and unchecked, rechecked and the coloration
DW> schema reinitailized.
DW>
DW> There is nothing much special about the two instances. The instance
DW> that continued to work correctly is running about 179MB vs the one
DW> the lost the schema was at 54.8 MB (according the Resharper memory
DW> indicator in the status bars). Both instances had been restarted
DW> about 2 - 3 hours ago, and had somewhere in the order of ~10 class
DW> files open at the time.
DW>
DW> This is on a Duo Core 2.0GHZ, 4GB ram system running XP 32bit (yes,
DW> I know that XP only reconizes 3GB). Total memory usage on the
DW> system is ~1.7GB.
DW>
DW> David
DW>


0
Comment actions Permalink

Hello abdu,

Sometimes VS "forgets" about what colors it should display in editor, and
begin to mess with highlighting. We don't know how specific reason for it
to happen, may be it is caused by ReSharper or just the fact that there are
custom colors and new package/addin is being installed. There are few workarounds:

1. Open Tools, Options, Fonts and Colors, and just click ok. VS then reloads
colors and colorization is fixed.
2. If you have specific background colors that periodically fail, change
them to have specific color, e.g. black background, instead of "Default"
settings which should inherit background color from Plain Text item.

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


IR> I am experiencing odd color behaviors too. I am using R#4.1 in VS
IR> 2008 SP1. I am using light colored text on a dark background so I
IR> have some custom colors set. I have "Color Identifiers" checked.
IR>
IR> This is the issue I am having:
IR>
IR> Sometimes some text in the text editor (C#) displays in strange
IR> colors like dark blue and purple. I cycle through all the colors
IR> under "Fonts and Colors" in VS.
IR>
IR> I look at all the previews for all the color settings looking for an
IR> entry that has a purple text. I find none!
IR>
IR> Then I go looking for an entry that has a blue text like the one I
IR> have. I find a single entry but it belongs to XAML ... something. I
IR> don't use XAML anywhere.
IR>
IR> I decide it change the font color from that blue just for kicks. Low
IR> and behold the purple and text colors are gone from my editor and
IR> original colors are restored. It's as if the color change did a
IR> major color reset.
IR>
IR> I find this behavior odd. I think this is R# related and not VS
IR> because it happens only when "Color Indetifiers" is checked. Well at
IR> least as far as my little testing has proved to be the case.
IR>


0
Comment actions Permalink

Hello brantheman,

Could you please contact support@jetbrains.com and give more details about
your environment. It is not something that should happen, and it actually
looks very strange, because we don't repaint editor during scorlling, we
just tell VS which text should be in which color, it is painted by VS. Thanks
in advance.

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


IR> I've never seen the coloring work properly in 4.1. Just scrolling up
IR> and down my page causes it to draw types in black whereas they
IR> normally draw in cyan.
IR>


0
Comment actions Permalink

Yes, I have SP1 and all other updates installed.

David

"Ilya Ryzhenkov" <orangy@jetbrains.com> wrote in message
news:76a2bd0b1613eb8cae5fc42cb9fd2@news.intellij.net...

Hello David,

>

Do you have SP installed for VS2005? There was known issue in VS2005, when
it couldn't hold more than certain number of highlighting items. That was
fixed by MS in SP1, though we still receive issues like that from time to
time.

>

Sincerely,
Ilya Ryzhenkov

>

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>

DW> Using the current nightly build in VS2005, I just had a
DW> very strange coloration issue. I had two instances of VS open and
DW> one of the instances (used in a readonly capacity) lost the
DW> coloration schema. I manually when into the Resharper -> Settings
DW> -> Color Identifiers and unchecked, rechecked and the coloration
DW> schema reinitailized.
DW> DW> There is nothing much special about the two instances. The
instance
DW> that continued to work correctly is running about 179MB vs the one
DW> the lost the schema was at 54.8 MB (according the Resharper memory
DW> indicator in the status bars). Both instances had been restarted
DW> about 2 - 3 hours ago, and had somewhere in the order of ~10 class
DW> files open at the time.
DW> DW> This is on a Duo Core 2.0GHZ, 4GB ram system running XP 32bit
(yes,
DW> I know that XP only reconizes 3GB). Total memory usage on the
DW> system is ~1.7GB.
DW> DW> David
DW>



0
Comment actions Permalink

I think the colorization issue I was seeing was a problem with build 933. It seems to be fine in 936. Also, 933 had a nasty bug where VS2008SP1 would crash if you attempted to edit project properties that contained settings. That also seems to be fixed in 936.

0

Please sign in to leave a comment.