Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-289649: ReSharper incorrectly cleans up third-party source code in websites

$
0
0
Reporter Werner Strydom (bloudraak) Werner Strydom (bloudraak)
Created Mar 9, 2012 6:17:07 AM
Updated Apr 3, 2012 6:17:52 PM
Priority Critical
Type Bug
Fix versions Mirabile Futurum
State Open
Assignee Evgeny Pasynkov (pasynkov)
Subsystem Code Cleanup
Affected versions No Affected versions
Fixed in build No Fixed in build
Create a brand new ASP.NET MVC 3 application using Visual Studio 2010. Now select the solution and select "Cleanup Code". Notice that ReSharper by default tries to reformat jQuery and other files that is actually part of third party frameworks. Because I use nuget, any source code added by packages are also cleaned up. The problem with this is that when I use nuget to update packages (say jQuery), the jQuery files are not replaced because they were modified. This is a major problem.

I'd like to suggest that ReSharper be aware of nuget packages (and any source they add to projects). Further, start with good defaults to skip jQuery and other third party source.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>