Can I run ReSharper code analysis or code cleanup without Visual Studio (e.g. using command line)?
Yes, there are ReSharper Command Line Tools
How to use it - https://www.jetbrains.com/help/resharper/ReSharper_Command_Line_Tools.html
Please sign in to leave a comment.
Alex,
Can we use resharper to code refactor/code clea up from command line?
@Asp, not at the moment. Refactorings and Code Cleanup are based on VS integration features, so currently it is not possible.
Alex, +1 for code cleanup from command line.
I and my teammates are working on legacy ASP.NET solution with 170 projects and more than 1*10^6 lines of code. We need to cleanup it before we start implementing new features in next release. I worked on R# + StyleCop code conventions and we need to cleanup the codebase containing .aspx, .js, .css, .cs files many of which are legacy (.cs may reach 5+ KLOC). When I try to run R# code cleanup on one single project (opened only it, not the whole solution) containing several hundreds of .aspx, .js, .css, .cs, I see "Updating background files" in bottom right corner of Visual Studio, estimated time grows from 15 minutes to 2 hours 50 minutes, in approximately 30 minutes I get OutOfMemoryException. This happens on virtual machine with 4 cores of i5 CPU, 8 GB of RAM, SSD drive running under Windows 2008 R2, Visual Studio 2013 RC Ultimate and both R# 8.0.1 & R# 8.0.2. My questions:
2. How do I disable this updating? Code Analysis is already disabled in Options - Code Inspection - Settings.
Will appreciate all answers & ideas. Please give me options how to do this.
hi. +1 to this feature