Do you have any tips to improve ReSharper and/or Visual Studio performance?

和自甴很熟 提交于 2019-12-03 04:35:02

问题


I'm using visual studio 2008 and ReSharper 4 and it's kind of slow. My machine has 2 GB of RAM, dual core processor and a 7200 rpm hard disk. I know more RAM and a faster hard disk could improve performance, but do you have any tips to improve ReSharper/Visual Studio performance?


回答1:


Turn off the annoying RSS reader

  • Tools, Options, Environment, Startup

Turn off all the animations

  • Tools, Options, Environment, Animate Environment Tools

Install the recent Service Pack

Clean out your WebCache

  • AppData\Local\Microsoft\WebSiteCache



回答2:


Visual Studio optimisations: http://stackoverflow.com/questions/8440/visual-studio-optimizations#8453

Edit: The above SO post has unfortunately been deleted.

Microsoft have provided some tips that essentially boil down to turning off features you don't need and reducing solution size by splitting up a solution into smaller self contained solutions where appropriate.

JetBrains has also provided an article that list a whole range of tweaks you can make to both Resharper settings and Visual Studio settings to improve performance.




回答3:


Having too many projects within your solution also appears to be a factor when it comes to performance. I have no real evidence of this but from my experience, less projects equates to better performance.

If consolidating projects is not an option then create an alternate solution file so you can add only the existing projects that are relevant to the work you are doing.




回答4:


  • Disable unused extensions under "Tools - Extensions".
  • Disable "Track changes" in "Tools - Options - Text Editor".
  • Disable "Rich client visual experience" in the "Options - Environment".
  • Disable IntelliTrace (Ultimate edition only) - in the "Tools - Options - IntelliTrace - General"
  • Disable "Track Active items" - "Tools - Options - Projects and Solutions - Track Active Item in Solution Explorer".
  • Disable ReSharper IntelliSense in the ReSharper options
  • Disable ReSharper "Analyse errors in whole solution"
  • Disable editing enhancements in ReSharper - in ReSharper options turn off all the boxes under "Options - Environment - Editor"

This is a snippet from this blog-post




回答5:


I'm having the exact same issue, and from the JetBrains site, it looks like they sort-of know about it but aren't admitting anything. Turning off solution-wide analysis does seem to help quite a bit.




回答6:


there are a complete procedures & Tips to speed up your Environment provided by resharper it self:

https://www.jetbrains.com/help/resharper/Speeding_Up_ReSharper.html



来源:https://stackoverflow.com/questions/23737/do-you-have-any-tips-to-improve-resharper-and-or-visual-studio-performance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!