开发者

resharper 4.5 making VS2008 very slow especially with ASPX pages

开发者 https://www.devze.com 2022-12-18 10:31 出处:网络
I am using Visual studio 2008 with Resharper 4.5 add-in. the Visual studio performs well on its own, but when I add resharper it slows down and VS freezes for a while every time I type and save the co

I am using Visual studio 2008 with Resharper 4.5 add-in. the Visual studio performs well on its own, but when I add resharper it slows down and VS freezes for a while every time I type and save the code. the performance is even worse when I am typing and saving aspx files (mark-up or javascript). the solution has around 35 projects in it. my PC RAM is 2GB a开发者_高级运维nd the processor is Pentium(4) 3Ghz and the OS is Windows XP. I do want to use resharper, it has some cool features, but at the same time I don't want to be wasting time due to slow performance. any suggestions please?

regards, Rama


The first thing to try is to turn off solution wide analysis in ReSharper -> Options -> Settings -> Analyze errors in whole solution. This will stop ReSharper collecting analysis problem across all files in your solution that you do not have open.

If it is still slow, try turning off code analysis altogether (the checkbox labelled "Enable code analysis" in the same options page). This will however disable the analysis gutter with its errors and warnings - something I think is a key feature of ReSharper.

If you just want to disable analysis on a single file after opening (ie. such as an ASPX file or a large code file), Ctrl+8 will toggle analysis on and off just for the current file.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号