[222] fonts & colors entries disappearance update

Hi,

Following a post of Dmitry in the thread "[220] Show Code Coverage Coloring
is messed up." (quoted below), I just made some tests along those lines,
trying to get back the Resharper entries in the fonts&colors dialog that
went missing after installation of build 222.


The details go as follows:
- initial state: no RS entries in the fonts&colors options dialog
- devenv /setup -> nope
- delete HKCU\Software\Microsoft\VisualStudio\8.0 -> nope (but it reset all
settings)
- devenv /setup -> yup, RS entries reappeared
- restored regkey -> nope, they disappeared again
- delete only the fonts&colors regkey + devenv /setup -> yup, reappeared
- restored settings in VS (from a time when the entries weren't there) ->
still yup
- devenv /setup -> nope, that removed RS from Fonts&Colors
- delete only the fonts&colors cache regkey -> yup, reappeared
- devenv /setup -> nope, disappeared (looks like a pattern here)
- delete f&c cache regkey -> yup, reappeared
- close/reopen VS -> yup, still there

Based on this, I would conclude that yes, the problem lies in the caching of
the fonts & colors entries. Removing only this key in the registry instantly
fixes the problem.
However, running devenv /setup seems to remove the entries once again. Not
sure why, but something must be happening with RS around here, since it
didn't happen before (or at least it doesn't happen for everyone with every
build :)

If the problem with devenv /setup removing the entries could be fixed, a
simple way to fix the disappearance might be to remove the fonts&colors
cache regkey on installation?


Well, at least it worked for me, so thanks for the idea of hitting this
particular registry key :)

Regards,

Lionel


"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d9123ae38c8135cf1c0b5c1@news.intellij.net...

Hello Krishna,

>

I've just run into this problem myself: all ReSharper entries in Fonts and
Colors
dialog were missing. I spent some time on it was finally able to fix it.
I'm not completely
sure what exactly made the trick, but what I learned from that is:

>

1) The problem seems to be caused by some bad caching of Fonts and Colors
entries inside VS
2) In order to reset VS to its initial state, I cleaned up several places
a) Deleted completely the HKCU\Software\Microsoft\VisualStudio\8.0

registry

key
b) Deleted the whole folder Documents and Settings\<user>\Local

Settings\Application

Data\Microsoft\VisualStudio\8.0
c) Deleted the whole folder Documents and Settings\<user>\Application
Data\Microsoft\VisualStudio\8.0

>

None of the above places contain a valuable information so they all can be
safely deleted. After deletion I run 'devenv /setup', and - o, miracle!

ReSharper

Fonts and Colors entries are back!

>

It'd be great if you can repeat my experiment and notify me of your

results.

Thanks.

>

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



4 comments
Comment actions Permalink

Hello Lionel,

thanks a lot for your investigation! I think it closes the gap to the solution
to the problem.
What still remains unclear is how can we get to the initial state when there
are no ReSharper entries.
I suspect that the problem is related to invoking 'devenv /setup' during
uninstallation and installation.
Since VS likely caches Fonts and Colors entries when running 'devenv /setup',
it will cache bad setup
(no ReSharper's and, probably, other entries) if ReSharper add-in is not
loaded during execution
of the 'devenv /setup' command. I'll try to verify the hypothesis ASAP.

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

Hi,

Following a post of Dmitry in the thread "[220] Show Code Coverage
Coloring is messed up." (quoted below), I just made some tests along
those lines, trying to get back the Resharper entries in the
fonts&colors dialog that went missing after installation of build 222.

The details go as follows:
- initial state: no RS entries in the fonts&colors options dialog
- devenv /setup -> nope
- delete HKCU\Software\Microsoft\VisualStudio\8.0 -> nope (but it
reset all
settings)
- devenv /setup -> yup, RS entries reappeared
- restored regkey -> nope, they disappeared again
- delete only the fonts&colors regkey + devenv /setup -> yup,
reappeared
- restored settings in VS (from a time when the entries weren't there)
->
still yup
- devenv /setup -> nope, that removed RS from Fonts&Colors
- delete only the fonts&colors cache regkey -> yup, reappeared
- devenv /setup -> nope, disappeared (looks like a pattern here)
- delete f&c cache regkey -> yup, reappeared
- close/reopen VS -> yup, still there
Based on this, I would conclude that yes, the problem lies in the
caching of
the fonts & colors entries. Removing only this key in the registry
instantly
fixes the problem.
However, running devenv /setup seems to remove the entries once again.
Not
sure why, but something must be happening with RS around here, since
it
didn't happen before (or at least it doesn't happen for everyone with
every
build :)
If the problem with devenv /setup removing the entries could be fixed,
a simple way to fix the disappearance might be to remove the
fonts&colors cache regkey on installation?

Well, at least it worked for me, so thanks for the idea of hitting
this particular registry key :)

Regards,

Lionel

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d9123ae38c8135cf1c0b5c1@news.intellij.net...

>> Hello Krishna,
>>
>> I've just run into this problem myself: all ReSharper entries in
>> Fonts and
>> Colors
>> dialog were missing. I spent some time on it was finally able to fix
>> it.
>> I'm not completely
>> sure what exactly made the trick, but what I learned from that is:
>> 1) The problem seems to be caused by some bad caching of Fonts and
>> Colors
>> entries inside VS
>> 2) In order to reset VS to its initial state, I cleaned up several
>> places
>> a) Deleted completely the HKCU\Software\Microsoft\VisualStudio\8.0

registry

>> key
>> b) Deleted the whole folder Documents and Settings\]]>\Local

Settings\Application

>> Data\Microsoft\VisualStudio\8.0
>> c) Deleted the whole folder Documents and Settings\\Application >> Data\Microsoft\VisualStudio\8.0 >> None of the above places contain a valuable information so they all >> can be safely deleted. After deletion I run 'devenv /setup', and - o, >> miracle! >>]]>

ReSharper

>> Fonts and Colors entries are back!
>>
>> It'd be great if you can repeat my experiment and notify me of your
>>

results.

>> Thanks.
>>
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"


0
Comment actions Permalink

Yet another update, for build 223 :)

Starting from an installation with build 222 and working Fonts & Colors
entries.

Uninstalled 222 / installed 223 -> the entries disappeared

If I export all settings before installation and import them after, the
steps described in my previous post still work. I simply have to remove the
FontAndColors/Cache regkey to get the entries back.

However, I messed up a little at first and ended up with a 'fresh' version
of the FontAndColors registry key (what we get if we remove the whole 8.0
key).
With this setup, yesterday's steps didn't work. Removing the Cache regkey
didn't help.
The only way to get everything back was to remove this key while VS was
still running.

After correctly importing my previous settings and deleting (again) this
key, everything is back to normal.

The 'fresh' version of the FontAndColors key had only one subkey, besides
Cache. My previously exported settings have 11.

No idea why this would make a difference. Maybe because my previous settings
had some custom changes in Fonts&Colors that make VS behave differently if
he has to rebuild the cache ?

That's all the strangeness I noticed for the moment. Now, let's try this new
build on some code :)

Regards,

Lionel


"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d91248ab8c813d643b1deff@news.intellij.net...

Hello Lionel,

>

thanks a lot for your investigation! I think it closes the gap to the

solution

to the problem.
What still remains unclear is how can we get to the initial state when

there

are no ReSharper entries.
I suspect that the problem is related to invoking 'devenv /setup' during
uninstallation and installation.
Since VS likely caches Fonts and Colors entries when running 'devenv

/setup',

it will cache bad setup
(no ReSharper's and, probably, other entries) if ReSharper add-in is not
loaded during execution
of the 'devenv /setup' command. I'll try to verify the hypothesis ASAP.

>

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

>

Hi,

>

Following a post of Dmitry in the thread "[220] Show Code Coverage
Coloring is messed up." (quoted below), I just made some tests along
those lines, trying to get back the Resharper entries in the
fonts&colors dialog that went missing after installation of build 222.

>

The details go as follows:
- initial state: no RS entries in the fonts&colors options dialog
- devenv /setup -> nope
- delete HKCU\Software\Microsoft\VisualStudio\8.0 -> nope (but it
reset all
settings)
- devenv /setup -> yup, RS entries reappeared
- restored regkey -> nope, they disappeared again
- delete only the fonts&colors regkey + devenv /setup -> yup,
reappeared
- restored settings in VS (from a time when the entries weren't there)
->
still yup
- devenv /setup -> nope, that removed RS from Fonts&Colors
- delete only the fonts&colors cache regkey -> yup, reappeared
- devenv /setup -> nope, disappeared (looks like a pattern here)
- delete f&c cache regkey -> yup, reappeared
- close/reopen VS -> yup, still there
Based on this, I would conclude that yes, the problem lies in the
caching of
the fonts & colors entries. Removing only this key in the registry
instantly
fixes the problem.
However, running devenv /setup seems to remove the entries once again.
Not
sure why, but something must be happening with RS around here, since
it
didn't happen before (or at least it doesn't happen for everyone with
every
build :)
If the problem with devenv /setup removing the entries could be fixed,
a simple way to fix the disappearance might be to remove the
fonts&colors cache regkey on installation?

>

Well, at least it worked for me, so thanks for the idea of hitting
this particular registry key :)

>

Regards,

>

Lionel

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d9123ae38c8135cf1c0b5c1@news.intellij.net...

>
>> Hello Krishna,
>>
>> I've just run into this problem myself: all ReSharper entries in
>> Fonts and
>> Colors
>> dialog were missing. I spent some time on it was finally able to fix
>> it.
>> I'm not completely
>> sure what exactly made the trick, but what I learned from that is:
>> 1) The problem seems to be caused by some bad caching of Fonts and
>> Colors
>> entries inside VS
>> 2) In order to reset VS to its initial state, I cleaned up several
>> places
>> a) Deleted completely the HKCU\Software\Microsoft\VisualStudio\8.0

registry

>
>> key
>> b) Deleted the whole folder Documents and Settings\<user>\Local

Settings\Application

>
>> Data\Microsoft\VisualStudio\8.0
>> c) Deleted the whole folder Documents and Settings\<user>\Application
>> Data\Microsoft\VisualStudio\8.0
>> None of the above places contain a valuable information so they all
>> can be safely deleted. After deletion I run 'devenv /setup', and - o,
>> miracle!
>>

ReSharper

>
>> Fonts and Colors entries are back!
>>
>> It'd be great if you can repeat my experiment and notify me of your
>>

results.

>
>> Thanks.
>>
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"

>
>


0
Comment actions Permalink

Hello Lionel,

Same here.

Regrads,
Maxim


0
Comment actions Permalink

Thanx, Lionel! That is. Killing "Fonts and Colors" entry from registry.


0

Please sign in to leave a comment.