forced kick-in

Hi All,

Is there a way to force ReSharper to "kick-in" ? Sometimes when
I change something in a project, it takes quite some time for
ReSharper to pick up the change and even full rebuild doesn't help.

It most often happens when I add new resource into resource file
(e.g. Resources.resx) that updates associated generated code
(e.g. Resources.Designer.cs) but ReSharper ignores that and
auto complete doesn't offer newly added resources.

This is just an example, this happens in other scenarios too,
so this forced parse (cache update) would be quite useful
but I can't find it in the UI - maybe it is not there yet ? :)

Thanks,

Martin

6 comments
Comment actions Permalink

Hello krumpo,

in the scenario with adding a new resource to a resource file, saving the
resource file and switching focus
from the VS window back should help. This is a known issue - we don't get
any notifications when the use
edits a resource file in the resource grid. I wonder what are the other scenarios
you mention when ReSharper doesn't react to changes?


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


Hi All,

Is there a way to force ReSharper to "kick-in" ? Sometimes when
I change something in a project, it takes quite some time for
ReSharper to pick up the change and even full rebuild doesn't help.
It most often happens when I add new resource into resource file
(e.g. Resources.resx) that updates associated generated code
(e.g. Resources.Designer.cs) but ReSharper ignores that and
auto complete doesn't offer newly added resources.
This is just an example, this happens in other scenarios too,
so this forced parse (cache update) would be quite useful
but I can't find it in the UI - maybe it is not there yet ? :)
Thanks,

Martin



0
Comment actions Permalink

Use RGreatEx, it contains ResourceManager that send notifications for R#
while resource changes, also this R# extension contains refactoring methods
for moving strings to a resource files and more else...

Hi All,

Is there a way to force ReSharper to "kick-in" ? Sometimes when
I change something in a project, it takes quite some time for
ReSharper to pick up the change and even full rebuild doesn't help.
It most often happens when I add new resource into resource file
(e.g. Resources.resx) that updates associated generated code
(e.g. Resources.Designer.cs) but ReSharper ignores that and
auto complete doesn't offer newly added resources.
This is just an example, this happens in other scenarios too,
so this forced parse (cache update) would be quite useful
but I can't find it in the UI - maybe it is not there yet ? :)
Thanks,

Martin



0
Comment actions Permalink

Hello Dmitry,

in the scenario with adding a new resource to a resource file,
saving the resource file and switching focus from the VS
window back should help. This is a known issue - we don't
get any notifications when the use edits a resource file
in the resource grid.


Maybe watching file system notifications for designer files
could be a workaround - just a suggestion ...

I wonder what are the other scenarios you mention
when ReSharper doesn't react to changes?


I noticed this several times before when I did manual text
operations on source files - I'll try to watch whether this
happens with current (3.0.2) version and if, report to Jira.

Thanks,

Martin

0
Comment actions Permalink

Hi Alexander,

Use RGreatEx, it contains ResourceManager that send
notifications for R# while resource changes, also this R#
extension contains refactoring methods for moving strings
to a resource files and more else...


I was reluctant to use R# plugins before as I found them
(generally) even less stable than R# itself, but I'll check
this one out as it seems to be maintained and I work
with resources quite a lot ...

Thanks for suggestion,

Martin

0
Comment actions Permalink

Indeed ReSharper watches for file system notifications for files. However,
it ignores those notification for the files currently opened in an editor
(or a resource grid), as it expects VS to handle the external changes. For
opened files, ReSharper expects VS to send change notifications, but it doesn't
happen in this case.


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


Hello Dmitry,

>> in the scenario with adding a new resource to a resource file,
>> saving the resource file and switching focus from the VS
>> window back should help. This is a known issue - we don't
>> get any notifications when the use edits a resource file
>> in the resource grid.

Maybe watching file system notifications for designer files
could be a workaround - just a suggestion ...

>> I wonder what are the other scenarios you mention when ReSharper
>> doesn't react to changes?
>>

I noticed this several times before when I did manual text
operations on source files - I'll try to watch whether this
happens with current (3.0.2) version and if, report to Jira.
Thanks,

Martin



0
Comment actions Permalink

I'll wait your opinion after RGreatEx usages.


0

Please sign in to leave a comment.