Very slow to open "Code" menu

On a large (40000+ files) Web Site project in Visual Studio 2005, the "ReSharper > Code" menu takes a long time to open when the solution is selected in the Solution Explorer. Also, right-clicking on the solution in the Solution Explorer is equally slow. I'm speculating that the add-in does some work to decide whether to enable/disable the "Cleanup Code..." menu option but that's just a best guess.

Has anyone else experienced this and does anyone have a workaround or fix that doesn't involve disabling the ReSharper add-in?

Thanks,

David

2 comments

"dsmain" <no_reply@jetbrains.com> wrote in message
news:8736231.43531225227147577.JavaMail.jive@app4.labs.intellij.net...

On a large (40000+ files) Web Site project in Visual Studio 2005, the
"ReSharper > Code" menu takes a long time to open when the solution is
selected in the Solution Explorer. Also, right-clicking on the solution in
the Solution Explorer is equally slow. I'm speculating that the add-in
does some work to decide whether to enable/disable the "Cleanup Code..."
menu option but that's just a best guess.

>

Has anyone else experienced this and does anyone have a workaround or fix
that doesn't involve disabling the ReSharper add-in?


It's not really a workaround, but I bet ReSharper would have less trouble if
you were using a Web Application Project. In a WAP, you would probably not
include all 40000 files in the project (images, static content, etc), or if
you did, ReSharper could at least tell from the project file that it could
ignore them. I imagine in a Web Site "project", ReSharper has to look at
every file in your folder hierarchy - all 40,000 of them.
--
John

0

I am having similar problems when using Reshaper on web projects.

http://www.jetbrains.net/jira/browse/RSRP-75997

I hope version 4.5 of ReSharper will bring some improvement in this area.


"John Saunders" <no@dont.do.that.com> wrote in message
news:geahfg$g46$1@is.intellij.net...

"dsmain" <no_reply@jetbrains.com> wrote in message
news:8736231.43531225227147577.JavaMail.jive@app4.labs.intellij.net...

>> On a large (40000+ files) Web Site project in Visual Studio 2005, the
>> "ReSharper > Code" menu takes a long time to open when the solution is
>> selected in the Solution Explorer. Also, right-clicking on the solution
>> in the Solution Explorer is equally slow. I'm speculating that the add-in
>> does some work to decide whether to enable/disable the "Cleanup Code..."
>> menu option but that's just a best guess.
>>
>> Has anyone else experienced this and does anyone have a workaround or fix
>> that doesn't involve disabling the ReSharper add-in?
>

It's not really a workaround, but I bet ReSharper would have less trouble
if you were using a Web Application Project. In a WAP, you would probably
not include all 40000 files in the project (images, static content, etc),
or if you did, ReSharper could at least tell from the project file that it
could ignore them. I imagine in a Web Site "project", ReSharper has to
look at every file in your folder hierarchy - all 40,000 of them.
--
John


0

Please sign in to leave a comment.