Renaming a resource takes very long

Hi,

when I rename a resource it takes very long (1min or more). It seems that he takes very long to find other usages or so?
When I press Find Usages on the property it instantly returns that this is the only usage.

Regards
Martyn

2 comments

Hi Alexander,

Thansk for the replay. It is a standard library c# project with only one resource file. It is the same project like for the discussion http://www.jetbrains.net/devnet/message/5247447#5247447 (same sources and designer file I already send you once). We have our own custom control wich generates the desginer file.

What kind of your project?

How many resource entries in the resource file?
How many sub cultures for the resource file?

C# Assembly
around 600 resources and the designer file has around 11000 lines of code.
1 cutlure.

You found usages of property not of resource entry.


Yes in found the usage of the property instantly. I think the property makes most sens to look for since I'm also selecting it to rename it.
BTW: Refactor -> "Inline Resources" takse also for ever

Regards
Martyn

1

Hello Martyn,

Hi,

when I rename a resource it takes very long (1min or more). It seems
that he takes very long to find other usages or so?


What kind of your project?
How many resource entries in the resource file?
How many sub cultures for the resource file?

When I press Find Usages on the property it instantly returns that
this is the only usage.


You found usages of property not of resource entry.

Best regards,
Alexander Nesterenko
ReSharper developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.