[212] User settings are still not saved

I have been working with build 212 for hours now without restarting Visual
Studio 2003. Now that I have restarted Visual Studio 2003 I noticed that all
my settings were reset.

To make sure that it didn't have anything to do with my usersettings.xml
from build 211 I uninstalled ReSharper build 212, deleted the JetBrains
folder in %appdata% and then reinstalled build 212.

The settings are still not being saved.

Gabriel


18 comments
Comment actions Permalink

Hello Gabriel,

not sure about your exact scenario, but we've just discovered and fixed yet
another problem with
user settings - they weren't saved in case if the user deletes UserSettings.xml
file after opening the VS
but doesn't change anything in settings. It's fixed in 213 which we'll be
published ASAP.


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

I have been working with build 212 for hours now without restarting
Visual Studio 2003. Now that I have restarted Visual Studio 2003 I
noticed that all my settings were reset.

To make sure that it didn't have anything to do with my
usersettings.xml from build 211 I uninstalled ReSharper build 212,
deleted the JetBrains folder in %appdata% and then reinstalled build
212.

The settings are still not being saved.

Gabriel



0
Comment actions Permalink

I upgraded to 213 (on VS 2003) this morning but preferences are still
not saving for me. I tried the trick of touching the file while VS is
open so that it prompts about overwriting the file - even then
preferences are not saving for me.

- Nate



Dmitry Shaporenkov (JetBrains) wrote:

Hello Gabriel,

not sure about your exact scenario, but we've just discovered and fixed
yet another problem with user settings - they weren't saved in case if
the user deletes UserSettings.xml file after opening the VS
but doesn't change anything in settings. It's fixed in 213 which we'll
be published ASAP.


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

>> I have been working with build 212 for hours now without restarting
>> Visual Studio 2003. Now that I have restarted Visual Studio 2003 I
>> noticed that all my settings were reset.
>>
>> To make sure that it didn't have anything to do with my
>> usersettings.xml from build 211 I uninstalled ReSharper build 212,
>> deleted the JetBrains folder in %appdata% and then reinstalled build
>> 212.
>>
>> The settings are still not being saved.
>>
>> Gabriel
>>


0
Comment actions Permalink

Hello Nate,

could you please elaborate on what particular preferences are not saved?
May be the problem is more narrow that
just not saving UserSettings.xml at all. Could you also please if UserSettings.xml
file is really updated when you close
VS?

Thanks.

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

I upgraded to 213 (on VS 2003) this morning but preferences are still
not saving for me. I tried the trick of touching the file while VS is
open so that it prompts about overwriting the file - even then
preferences are not saving for me.

- Nate

Dmitry Shaporenkov (JetBrains) wrote:

>> Hello Gabriel,
>>
>> not sure about your exact scenario, but we've just discovered and
>> fixed
>> yet another problem with user settings - they weren't saved in case
>> if
>> the user deletes UserSettings.xml file after opening the VS
>> but doesn't change anything in settings. It's fixed in 213 which
>> we'll
>> be published ASAP.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> I have been working with build 212 for hours now without restarting
>>> Visual Studio 2003. Now that I have restarted Visual Studio 2003 I
>>> noticed that all my settings were reset.
>>>
>>> To make sure that it didn't have anything to do with my
>>> usersettings.xml from build 211 I uninstalled ReSharper build 212,
>>> deleted the JetBrains folder in %appdata% and then reinstalled build
>>> 212.
>>>
>>> The settings are still not being saved.
>>>
>>> Gabriel
>>>


0
Comment actions Permalink

Hello Dmitry,

Build 213 definately sorted out my problem with losing the "don't highlight
current line" option so the bassic settings ARE being stored - not seen anything
else missing (yet)

Ronnie

Hello Nate,

could you please elaborate on what particular preferences are not
saved?
May be the problem is more narrow that
just not saving UserSettings.xml at all. Could you also please if
UserSettings.xml
file is really updated when you close
VS?
Thanks.

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

>> I upgraded to 213 (on VS 2003) this morning but preferences are still
>> not saving for me. I tried the trick of touching the file while VS
>> is open so that it prompts about overwriting the file - even then
>> preferences are not saving for me.
>>
>> - Nate
>>
>> Dmitry Shaporenkov (JetBrains) wrote:
>>
>>> Hello Gabriel,
>>>
>>> not sure about your exact scenario, but we've just discovered and
>>> fixed
>>> yet another problem with user settings - they weren't saved in case
>>> if
>>> the user deletes UserSettings.xml file after opening the VS
>>> but doesn't change anything in settings. It's fixed in 213 which
>>> we'll
>>> be published ASAP.
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> I have been working with build 212 for hours now without restarting
>>>> Visual Studio 2003. Now that I have restarted Visual Studio 2003 I
>>>> noticed that all my settings were reset.
>>>>
>>>> To make sure that it didn't have anything to do with my
>>>> usersettings.xml from build 211 I uninstalled ReSharper build 212,
>>>> deleted the JetBrains folder in %appdata% and then reinstalled
>>>> build 212.
>>>>
>>>> The settings are still not being saved.
>>>>
>>>> Gabriel
>>>>


0
Comment actions Permalink

(Offtopic) Sigh... Is 'highlight current line' is so unusable that everybody
has turned it off? :)


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

Hello Dmitry,

Build 213 definately sorted out my problem with losing the "don't
highlight current line" option so the bassic settings ARE being stored
- not seen anything else missing (yet)

Ronnie

>> Hello Nate,
>>
>> could you please elaborate on what particular preferences are not
>> saved?
>> May be the problem is more narrow that
>> just not saving UserSettings.xml at all. Could you also please if
>> UserSettings.xml
>> file is really updated when you close
>> VS?
>> Thanks.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> I upgraded to 213 (on VS 2003) this morning but preferences are
>>> still not saving for me. I tried the trick of touching the file
>>> while VS is open so that it prompts about overwriting the file -
>>> even then preferences are not saving for me.
>>>
>>> - Nate
>>>
>>> Dmitry Shaporenkov (JetBrains) wrote:
>>>
>>>> Hello Gabriel,
>>>>
>>>> not sure about your exact scenario, but we've just discovered and
>>>> fixed
>>>> yet another problem with user settings - they weren't saved in case
>>>> if
>>>> the user deletes UserSettings.xml file after opening the VS
>>>> but doesn't change anything in settings. It's fixed in 213 which
>>>> we'll
>>>> be published ASAP.
>>>> Regards,
>>>> Dmitry Shaporenkov
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>>> I have been working with build 212 for hours now without
>>>>> restarting Visual Studio 2003. Now that I have restarted Visual
>>>>> Studio 2003 I noticed that all my settings were reset.
>>>>>
>>>>> To make sure that it didn't have anything to do with my
>>>>> usersettings.xml from build 211 I uninstalled ReSharper build 212,
>>>>> deleted the JetBrains folder in %appdata% and then reinstalled
>>>>> build 212.
>>>>>
>>>>> The settings are still not being saved.
>>>>>
>>>>> Gabriel
>>>>>


0
Comment actions Permalink

OK, Ronnie, I see why you have disabled this option in another thread - you
don't like the color
of the current line. But give it another try in 214 where it will be possible
to customize its color
via the standard 'Fonts and Colors' dialog.

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

(Offtopic) Sigh... Is 'highlight current line' is so unusable that
everybody has turned it off? :)

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

>> Hello Dmitry,
>>
>> Build 213 definately sorted out my problem with losing the "don't
>> highlight current line" option so the bassic settings ARE being
>> stored - not seen anything else missing (yet)
>>
>> Ronnie
>>
>>> Hello Nate,
>>>
>>> could you please elaborate on what particular preferences are not
>>> saved?
>>> May be the problem is more narrow that
>>> just not saving UserSettings.xml at all. Could you also please if
>>> UserSettings.xml
>>> file is really updated when you close
>>> VS?
>>> Thanks.
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> I upgraded to 213 (on VS 2003) this morning but preferences are
>>>> still not saving for me. I tried the trick of touching the file
>>>> while VS is open so that it prompts about overwriting the file -
>>>> even then preferences are not saving for me.
>>>>
>>>> - Nate
>>>>
>>>> Dmitry Shaporenkov (JetBrains) wrote:
>>>>
>>>>> Hello Gabriel,
>>>>>
>>>>> not sure about your exact scenario, but we've just discovered and
>>>>> fixed
>>>>> yet another problem with user settings - they weren't saved in
>>>>> case
>>>>> if
>>>>> the user deletes UserSettings.xml file after opening the VS
>>>>> but doesn't change anything in settings. It's fixed in 213 which
>>>>> we'll
>>>>> be published ASAP.
>>>>> Regards,
>>>>> Dmitry Shaporenkov
>>>>> JetBrains, Inc
>>>>> http://www.jetbrains.com
>>>>> "Develop with pleasure!"
>>>>>> I have been working with build 212 for hours now without
>>>>>> restarting Visual Studio 2003. Now that I have restarted Visual
>>>>>> Studio 2003 I noticed that all my settings were reset.
>>>>>>
>>>>>> To make sure that it didn't have anything to do with my
>>>>>> usersettings.xml from build 211 I uninstalled ReSharper build
>>>>>> 212, deleted the JetBrains folder in %appdata% and then
>>>>>> reinstalled build 212.
>>>>>>
>>>>>> The settings are still not being saved.
>>>>>>
>>>>>> Gabriel
>>>>>>


0
Comment actions Permalink

Hello Dmitry,

Will do - by the way, on the subject of colours - the gutter tip icons (overridden, test and so on) still show up with a light (not transparent) background (see attachment).

Ronnie


OK, Ronnie, I see why you have disabled this option in another thread
- you
don't like the color
of the current line. But give it another try in 214 where it will be
possible
to customize its color
via the standard 'Fonts and Colors' dialog.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> (Offtopic) Sigh... Is 'highlight current line' is so unusable that
>> everybody has turned it off? :)
>>
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Hello Dmitry,
>>>
>>> Build 213 definately sorted out my problem with losing the "don't
>>> highlight current line" option so the bassic settings ARE being
>>> stored - not seen anything else missing (yet)
>>>
>>> Ronnie
>>>
>>>> Hello Nate,
>>>>
>>>> could you please elaborate on what particular preferences are not
>>>> saved?
>>>> May be the problem is more narrow that
>>>> just not saving UserSettings.xml at all. Could you also please if
>>>> UserSettings.xml
>>>> file is really updated when you close
>>>> VS?
>>>> Thanks.
>>>> Regards,
>>>> Dmitry Shaporenkov
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>>> I upgraded to 213 (on VS 2003) this morning but preferences are
>>>>> still not saving for me. I tried the trick of touching the file
>>>>> while VS is open so that it prompts about overwriting the file -
>>>>> even then preferences are not saving for me.
>>>>>
>>>>> - Nate
>>>>>
>>>>> Dmitry Shaporenkov (JetBrains) wrote:
>>>>>
>>>>>> Hello Gabriel,
>>>>>>
>>>>>> not sure about your exact scenario, but we've just discovered and
>>>>>> fixed
>>>>>> yet another problem with user settings - they weren't saved in
>>>>>> case
>>>>>> if
>>>>>> the user deletes UserSettings.xml file after opening the VS
>>>>>> but doesn't change anything in settings. It's fixed in 213 which
>>>>>> we'll
>>>>>> be published ASAP.
>>>>>> Regards,
>>>>>> Dmitry Shaporenkov
>>>>>> JetBrains, Inc
>>>>>> http://www.jetbrains.com
>>>>>> "Develop with pleasure!"
>>>>>>> I have been working with build 212 for hours now without
>>>>>>> restarting Visual Studio 2003. Now that I have restarted Visual
>>>>>>> Studio 2003 I noticed that all my settings were reset.
>>>>>>>
>>>>>>> To make sure that it didn't have anything to do with my
>>>>>>> usersettings.xml from build 211 I uninstalled ReSharper build
>>>>>>> 212, deleted the JetBrains folder in %appdata% and then
>>>>>>> reinstalled build 212.
>>>>>>>
>>>>>>> The settings are still not being saved.
>>>>>>>
>>>>>>> Gabriel
>>>>>>>



Attachment(s):
Non-transparent icons.png
0
Comment actions Permalink

Hmm, frankly speaking, I'm not aware of this problem. Could you please submit
a
request for it, if you have not done that previously. Please also specify
what are
your system and VS colors.

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

Hello Dmitry,

Will do - by the way, on the subject of colours - the gutter tip icons
(overridden, test and so on) still show up with a light (not
transparent) background (see attachment).

Ronnie

>> OK, Ronnie, I see why you have disabled this option in another thread
>> - you
>> don't like the color
>> of the current line. But give it another try in 214 where it will be
>> possible
>> to customize its color
>> via the standard 'Fonts and Colors' dialog.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> (Offtopic) Sigh... Is 'highlight current line' is so unusable that
>>> everybody has turned it off? :)
>>>
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> Hello Dmitry,
>>>>
>>>> Build 213 definately sorted out my problem with losing the "don't
>>>> highlight current line" option so the bassic settings ARE being
>>>> stored - not seen anything else missing (yet)
>>>>
>>>> Ronnie
>>>>
>>>>> Hello Nate,
>>>>>
>>>>> could you please elaborate on what particular preferences are not
>>>>> saved?
>>>>> May be the problem is more narrow that
>>>>> just not saving UserSettings.xml at all. Could you also please if
>>>>> UserSettings.xml
>>>>> file is really updated when you close
>>>>> VS?
>>>>> Thanks.
>>>>> Regards,
>>>>> Dmitry Shaporenkov
>>>>> JetBrains, Inc
>>>>> http://www.jetbrains.com
>>>>> "Develop with pleasure!"
>>>>>> I upgraded to 213 (on VS 2003) this morning but preferences are
>>>>>> still not saving for me. I tried the trick of touching the file
>>>>>> while VS is open so that it prompts about overwriting the file -
>>>>>> even then preferences are not saving for me.
>>>>>>
>>>>>> - Nate
>>>>>>
>>>>>> Dmitry Shaporenkov (JetBrains) wrote:
>>>>>>
>>>>>>> Hello Gabriel,
>>>>>>>
>>>>>>> not sure about your exact scenario, but we've just discovered
>>>>>>> and
>>>>>>> fixed
>>>>>>> yet another problem with user settings - they weren't saved in
>>>>>>> case
>>>>>>> if
>>>>>>> the user deletes UserSettings.xml file after opening the VS
>>>>>>> but doesn't change anything in settings. It's fixed in 213 which
>>>>>>> we'll
>>>>>>> be published ASAP.
>>>>>>> Regards,
>>>>>>> Dmitry Shaporenkov
>>>>>>> JetBrains, Inc
>>>>>>> http://www.jetbrains.com
>>>>>>> "Develop with pleasure!"
>>>>>>>> I have been working with build 212 for hours now without
>>>>>>>> restarting Visual Studio 2003. Now that I have restarted Visual
>>>>>>>> Studio 2003 I noticed that all my settings were reset.
>>>>>>>>
>>>>>>>> To make sure that it didn't have anything to do with my
>>>>>>>> usersettings.xml from build 211 I uninstalled ReSharper build
>>>>>>>> 212, deleted the JetBrains folder in %appdata% and then
>>>>>>>> reinstalled build 212.
>>>>>>>>
>>>>>>>> The settings are still not being saved.
>>>>>>>>
>>>>>>>> Gabriel
>>>>>>>>


0
Comment actions Permalink

Hello Dmitry,

(Offtopic) Sigh... Is 'highlight current line' is so unusable that
everybody has turned it off? :)


For me it's a great feature and it works fine (though I had seen several
times when two lines were highlighted).

Thanks for implementing it.

Best regards,
Maxim



0
Comment actions Permalink

Hello Dmitry,

14611 and have included the picture from my earlier post and an export of
my VS colours from the registry - I hope this is enough.

Ronnie

Hmm, frankly speaking, I'm not aware of this problem. Could you please
submit
a
request for it, if you have not done that previously. Please also
specify
what are
your system and VS colors.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> Hello Dmitry,
>>
>> Will do - by the way, on the subject of colours - the gutter tip
>> icons (overridden, test and so on) still show up with a light (not
>> transparent) background (see attachment).
>>
>> Ronnie
>>
>>> OK, Ronnie, I see why you have disabled this option in another
>>> thread
>>> - you
>>> don't like the color
>>> of the current line. But give it another try in 214 where it will be
>>> possible
>>> to customize its color
>>> via the standard 'Fonts and Colors' dialog.
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> (Offtopic) Sigh... Is 'highlight current line' is so unusable that
>>>> everybody has turned it off? :)
>>>>
>>>> Regards,
>>>> Dmitry Shaporenkov
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>>> Hello Dmitry,
>>>>>
>>>>> Build 213 definately sorted out my problem with losing the "don't
>>>>> highlight current line" option so the bassic settings ARE being
>>>>> stored - not seen anything else missing (yet)
>>>>>
>>>>> Ronnie
>>>>>
>>>>>> Hello Nate,
>>>>>>
>>>>>> could you please elaborate on what particular preferences are not
>>>>>> saved?
>>>>>> May be the problem is more narrow that
>>>>>> just not saving UserSettings.xml at all. Could you also please if
>>>>>> UserSettings.xml
>>>>>> file is really updated when you close
>>>>>> VS?
>>>>>> Thanks.
>>>>>> Regards,
>>>>>> Dmitry Shaporenkov
>>>>>> JetBrains, Inc
>>>>>> http://www.jetbrains.com
>>>>>> "Develop with pleasure!"
>>>>>>> I upgraded to 213 (on VS 2003) this morning but preferences are
>>>>>>> still not saving for me. I tried the trick of touching the file
>>>>>>> while VS is open so that it prompts about overwriting the file -
>>>>>>> even then preferences are not saving for me.
>>>>>>>
>>>>>>> - Nate
>>>>>>>
>>>>>>> Dmitry Shaporenkov (JetBrains) wrote:
>>>>>>>
>>>>>>>> Hello Gabriel,
>>>>>>>>
>>>>>>>> not sure about your exact scenario, but we've just discovered
>>>>>>>> and
>>>>>>>> fixed
>>>>>>>> yet another problem with user settings - they weren't saved in
>>>>>>>> case
>>>>>>>> if
>>>>>>>> the user deletes UserSettings.xml file after opening the VS
>>>>>>>> but doesn't change anything in settings. It's fixed in 213
>>>>>>>> which
>>>>>>>> we'll
>>>>>>>> be published ASAP.
>>>>>>>> Regards,
>>>>>>>> Dmitry Shaporenkov
>>>>>>>> JetBrains, Inc
>>>>>>>> http://www.jetbrains.com
>>>>>>>> "Develop with pleasure!"
>>>>>>>>> I have been working with build 212 for hours now without
>>>>>>>>> restarting Visual Studio 2003. Now that I have restarted
>>>>>>>>> Visual Studio 2003 I noticed that all my settings were reset.
>>>>>>>>>
>>>>>>>>> To make sure that it didn't have anything to do with my
>>>>>>>>> usersettings.xml from build 211 I uninstalled ReSharper build
>>>>>>>>> 212, deleted the JetBrains folder in %appdata% and then
>>>>>>>>> reinstalled build 212.
>>>>>>>>>
>>>>>>>>> The settings are still not being saved.
>>>>>>>>>
>>>>>>>>> Gabriel
>>>>>>>>>


0
Comment actions Permalink

Hello Maxim,

concerning two lines highlighted - we've seen this several times as well,
but no reliable way to reproduce it is currently known. By the way if you
by accident
notice how to repeat this elusive effect, we'll be very grateful. Otherwise,
I'm afraid
we will only have to rely upon our imagination to figure out how can this
happen...

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

Hello Dmitry,

>> (Offtopic) Sigh... Is 'highlight current line' is so unusable that
>> everybody has turned it off? :)
>>

For me it's a great feature and it works fine (though I had seen
several times when two lines were highlighted).

Thanks for implementing it.

Best regards,
Maxim



0
Comment actions Permalink

Hello Dmitry,

but no reliable way to reproduce it is currently known.

Same to me. Actually, when I see some issue in Resharper I almost always
try to make a repro for it.
But this time I failed. Will let you know in case I find it.

Best regards,
Maxim



0
Comment actions Permalink

Hello Maxim,

thanks for your willingness to help us!


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

Hello Dmitry,

>> but no reliable way to reproduce it is currently known.
>>

Same to me. Actually, when I see some issue in Resharper I almost
always
try to make a repro for it.
But this time I failed. Will let you know in case I find it.
Best regards,
Maxim



0
Comment actions Permalink

Dmitry, here are the steps I take:

Open preferences and modify the following values:
- Editor -> Highlighting Kind
- Editor -> Highlight current line in the editor
- Editor -> ParameterInfo (I change all three options here)
- Highlighting -> Redundant 'this.' qualifier
- Highlighting -> Redundant name qualifier
- Caches -> Solution Caches Location
Press OK and quit VS. When I relaunch VS all my modifications are lost.
The first time this happened (before I realized this was going to be a
problem) I also modified a bunch of the layout options; all those
modifications were also lost.

When I press OK I can see that the UserPreference.xml file is touched
(Date Modified changes). But none of my settings are actually saved to
the file (verified by creating a copy of the file before launching VS
then doing a diff between the two). If I try the previously suggested
trick of touching the UserPreferences.xml file while VS is open I am
prompted when VS exits and the file is touched as the program exits, but
again, none of my changes are preserved.

I have successfully worked around some of these issues by manually
modifying the UserPreferences.xml file in cases where I can figure out
what settings to change.

Hope that helps,
- Nate




Dmitry Shaporenkov (JetBrains) wrote:

Hello Nate,

could you please elaborate on what particular preferences are not saved?
May be the problem is more narrow that
just not saving UserSettings.xml at all. Could you also please if
UserSettings.xml file is really updated when you close
VS?

Thanks.

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

>> I upgraded to 213 (on VS 2003) this morning but preferences are still
>> not saving for me. I tried the trick of touching the file while VS is
>> open so that it prompts about overwriting the file - even then
>> preferences are not saving for me.
>>
>> - Nate
>>
>> Dmitry Shaporenkov (JetBrains) wrote:
>>
>>> Hello Gabriel,
>>>
>>> not sure about your exact scenario, but we've just discovered and
>>> fixed
>>> yet another problem with user settings - they weren't saved in case
>>> if
>>> the user deletes UserSettings.xml file after opening the VS
>>> but doesn't change anything in settings. It's fixed in 213 which
>>> we'll
>>> be published ASAP.
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> I have been working with build 212 for hours now without restarting
>>>> Visual Studio 2003. Now that I have restarted Visual Studio 2003 I
>>>> noticed that all my settings were reset.
>>>>
>>>> To make sure that it didn't have anything to do with my
>>>> usersettings.xml from build 211 I uninstalled ReSharper build 212,
>>>> deleted the JetBrains folder in %appdata% and then reinstalled build
>>>> 212.
>>>>
>>>> The settings are still not being saved.
>>>>
>>>> Gabriel
>>>>


0
Comment actions Permalink

Hello Nate,

thanks for this information. We'll investigate this problem and fix it ASAP.


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

Dmitry, here are the steps I take:

Open preferences and modify the following values:
- Editor -> Highlighting Kind
- Editor -> Highlight current line in the editor
- Editor -> ParameterInfo (I change all three options here)
- Highlighting -> Redundant 'this.' qualifier
- Highlighting -> Redundant name qualifier
- Caches -> Solution Caches Location
Press OK and quit VS. When I relaunch VS all my modifications are
lost.
The first time this happened (before I realized this was going to be
a
problem) I also modified a bunch of the layout options; all those
modifications were also lost.

When I press OK I can see that the UserPreference.xml file is touched
(Date Modified changes). But none of my settings are actually saved
to the file (verified by creating a copy of the file before launching
VS then doing a diff between the two). If I try the previously
suggested trick of touching the UserPreferences.xml file while VS is
open I am prompted when VS exits and the file is touched as the
program exits, but again, none of my changes are preserved.

I have successfully worked around some of these issues by manually
modifying the UserPreferences.xml file in cases where I can figure out
what settings to change.

Hope that helps,
- Nate
Dmitry Shaporenkov (JetBrains) wrote:

>> Hello Nate,
>>
>> could you please elaborate on what particular preferences are not
>> saved?
>> May be the problem is more narrow that
>> just not saving UserSettings.xml at all. Could you also please if
>> UserSettings.xml file is really updated when you close
>> VS?
>> Thanks.
>>
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> I upgraded to 213 (on VS 2003) this morning but preferences are
>>> still not saving for me. I tried the trick of touching the file
>>> while VS is open so that it prompts about overwriting the file -
>>> even then preferences are not saving for me.
>>>
>>> - Nate
>>>
>>> Dmitry Shaporenkov (JetBrains) wrote:
>>>
>>>> Hello Gabriel,
>>>>
>>>> not sure about your exact scenario, but we've just discovered and
>>>> fixed
>>>> yet another problem with user settings - they weren't saved in case
>>>> if
>>>> the user deletes UserSettings.xml file after opening the VS
>>>> but doesn't change anything in settings. It's fixed in 213 which
>>>> we'll
>>>> be published ASAP.
>>>> Regards,
>>>> Dmitry Shaporenkov
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>>> I have been working with build 212 for hours now without
>>>>> restarting Visual Studio 2003. Now that I have restarted Visual
>>>>> Studio 2003 I noticed that all my settings were reset.
>>>>>
>>>>> To make sure that it didn't have anything to do with my
>>>>> usersettings.xml from build 211 I uninstalled ReSharper build 212,
>>>>> deleted the JetBrains folder in %appdata% and then reinstalled
>>>>> build 212.
>>>>>
>>>>> The settings are still not being saved.
>>>>>
>>>>> Gabriel
>>>>>


0
Comment actions Permalink

I have found a couple of ways of reproducing this behavior.

Given the following test code:
======================
1 using System;
2 using System.Text;
3
4 namespace ClassLibrary3
5 {
6 public class Class1
7 {
8 public Class1()
9 {
10 StringBuilder testAnother;
11 testAnother = new StringBuilder();
12
13 testAnother.Append("test");
14 }
15 }
16 }
=======================

Method 1: If I place the input cursor at the end of any line and hit ENTER
and then wait for the current line highlight background to flash (which takes
about 1-2 seconds), and then I change line focus by either clicking on another
line or by using the arrow keys, the new line stays highlighted while the
current line is also highlighted. If I move the focus back to the new line
and then away, only the current line is highlighted. If I change line focus
before the line flashes I only get the one line highlighted.

Method 2: If I place the input cursor in the "testAnother" variable name
on line 11, the lightbulb will appear at the left, with a suggested fix of
"Join declaration and assignment". If I choose this quick fix it replaces
lines 10 and 11 with this:
10 StringBuilder testAnother = new StringBuilder();

And line 10 is highlighted. Again, if I wait for the highlight to flash
and then move the line focus away, line 10 stays highlighted.

Test environment: VS2003, Resharper 213

Hello Maxim,

concerning two lines highlighted - we've seen this several times as
well,
but no reliable way to reproduce it is currently known. By the way if
you
by accident
notice how to repeat this elusive effect, we'll be very grateful.
Otherwise,
I'm afraid
we will only have to rely upon our imagination to figure out how can
this
happen...
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> Hello Dmitry,
>>
>>> (Offtopic) Sigh... Is 'highlight current line' is so unusable that
>>> everybody has turned it off? :)
>>>
>> For me it's a great feature and it works fine (though I had seen
>> several times when two lines were highlighted).
>>
>> Thanks for implementing it.
>>
>> Best regards,
>> Maxim


0
Comment actions Permalink

Hello Cody,

thanks a lot for your information! Not that I'm able to repeat both cases
with 100% reliability butat least
I see the problem. However, in my experiments two highlighted lines are only
visible for a short
period of time, after which the previous line gets painted as the rest of
the text, and only the current line
is highlighted. Isn't it so in your case?

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

I have found a couple of ways of reproducing this behavior.

Given the following test code:
======================
1 using System;
2 using System.Text;
3
4 namespace ClassLibrary3
5 {
6 public class Class1
7 {
8 public Class1()
9 {
10 StringBuilder testAnother;
11 testAnother = new StringBuilder();
12
13 testAnother.Append("test");
14 }
15 }
16 }
=======================
Method 1: If I place the input cursor at the end of any line and hit
ENTER and then wait for the current line highlight background to flash
(which takes about 1-2 seconds), and then I change line focus by
either clicking on another line or by using the arrow keys, the new
line stays highlighted while the current line is also highlighted. If
I move the focus back to the new line and then away, only the current
line is highlighted. If I change line focus before the line flashes I
only get the one line highlighted.

Method 2: If I place the input cursor in the "testAnother" variable
name
on line 11, the lightbulb will appear at the left, with a suggested
fix of
"Join declaration and assignment". If I choose this quick fix it
replaces
lines 10 and 11 with this:
10 StringBuilder testAnother = new StringBuilder();
And line 10 is highlighted. Again, if I wait for the highlight to
flash and then move the line focus away, line 10 stays highlighted.

Test environment: VS2003, Resharper 213

>> Hello Maxim,
>>
>> concerning two lines highlighted - we've seen this several times as
>> well,
>> but no reliable way to reproduce it is currently known. By the way if
>> you
>> by accident
>> notice how to repeat this elusive effect, we'll be very grateful.
>> Otherwise,
>> I'm afraid
>> we will only have to rely upon our imagination to figure out how can
>> this
>> happen...
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Hello Dmitry,
>>>
>>>> (Offtopic) Sigh... Is 'highlight current line' is so unusable that
>>>> everybody has turned it off? :)
>>>>
>>> For me it's a great feature and it works fine (though I had seen
>>> several times when two lines were highlighted).
>>>
>>> Thanks for implementing it.
>>>
>>> Best regards,
>>> Maxim


0
Comment actions Permalink

Actually in my tests the "ghost highlighted line" was permanent until I moved
the input back onto the ghost highlighted line. I have seen occurences where
the ghost line stuck around for just a few seconds but not when I was testing
out the methods I described previously and I have not yet been able to reliably
reproduce that behavior.

I just tried the methods again to verify my results, and I did notice a few
things that may help you track this down. After I have created a ghost highlight
line the highlight WILL go away if the screen is repainted when Resharper
is doing outlining of brackets around the ghost highlight line.

So for example, using the code I previously posted, if I insert a new line
by hitting ENTER at the end of line 10, wait for the line to flash, arrow
down 1 line to line 12 then line 11 (the new blank line) is still highlighted
along with line 12. If I then cursor down to line 15 (previously line 14)
which has the closing bracket for the class constructor, the screen is repainted
showing the outline of the matching brackets and since the ghost highlight
line is within the area repainted, the ghost highlight is removed. If the
outline being drawn is for matching brackets that do not include the ghost
highlight line, it will not be removed.

My current Resharper Highlight matching brackets setting is "Highlight when
caret is at outer side", and the highlight kind is "outline brackets". If
I change my settings to "When caret is at either side" then it is more likely
to clear the ghost line because you have a better chance of outlining a section
of code. If I change the settings to either "Do not highlight" or "Mark
brackets with color" then the ghost highlight does not go away until I moved
the input back onto the ghost highlighted lines.

Also I noticed that if I cursor UP instead of down after creating a new line,
then the ghost highlight stays on the new line but the current line is not
highlighted. If I cursor up again, then the current line is highlighted
along with the ghost highlight.

Hello Cody,

thanks a lot for your information! Not that I'm able to repeat both
cases
with 100% reliability butat least
I see the problem. However, in my experiments two highlighted lines
are only
visible for a short
period of time, after which the previous line gets painted as the rest
of
the text, and only the current line
is highlighted. Isn't it so in your case?
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> I have found a couple of ways of reproducing this behavior.
>>
>> Given the following test code:
>> ======================
>> 1 using System;
>> 2 using System.Text;
>> 3
>> 4 namespace ClassLibrary3
>> 5 {
>> 6 public class Class1
>> 7 {
>> 8 public Class1()
>> 9 {
>> 10 StringBuilder testAnother;
>> 11 testAnother = new StringBuilder();
>> 12
>> 13 testAnother.Append("test");
>> 14 }
>> 15 }
>> 16 }
>> =======================
>> Method 1: If I place the input cursor at the end of any line and hit
>> ENTER and then wait for the current line highlight background to
>> flash
>> (which takes about 1-2 seconds), and then I change line focus by
>> either clicking on another line or by using the arrow keys, the new
>> line stays highlighted while the current line is also highlighted.
>> If
>> I move the focus back to the new line and then away, only the current
>> line is highlighted. If I change line focus before the line flashes
>> I
>> only get the one line highlighted.
>> Method 2: If I place the input cursor in the "testAnother" variable
>> name
>> on line 11, the lightbulb will appear at the left, with a suggested
>> fix of
>> "Join declaration and assignment". If I choose this quick fix it
>> replaces
>> lines 10 and 11 with this:
>> 10 StringBuilder testAnother = new StringBuilder();
>> And line 10 is highlighted. Again, if I wait for the highlight to
>> flash and then move the line focus away, line 10 stays highlighted.
>> Test environment: VS2003, Resharper 213
>>
>>> Hello Maxim,
>>>
>>> concerning two lines highlighted - we've seen this several times as
>>> well,
>>> but no reliable way to reproduce it is currently known. By the way
>>> if
>>> you
>>> by accident
>>> notice how to repeat this elusive effect, we'll be very grateful.
>>> Otherwise,
>>> I'm afraid
>>> we will only have to rely upon our imagination to figure out how can
>>> this
>>> happen...
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> Hello Dmitry,
>>>>
>>>>> (Offtopic) Sigh... Is 'highlight current line' is so unusable that
>>>>> everybody has turned it off? :)
>>>>>
>>>> For me it's a great feature and it works fine (though I had seen
>>>> several times when two lines were highlighted).
>>>>
>>>> Thanks for implementing it.
>>>>
>>>> Best regards,
>>>> Maxim


0

Please sign in to leave a comment.