History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-27094
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Eugene Pasynkov
Reporter: Erwin Derksen
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
ReSharper

Request: option to disable R# code analysis for specified files

Created: 06 Aug 06 19:16   Updated: 21 Feb 08 12:36
Component/s: Code Analysis - Profiles
Fix Version/s: Mirabilie Futurum
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 253
Old URL: http://www.intellij.net/tracker/resharper/viewSCR?publicId=27094


 Description  « Hide
[See also discussion "Dramatically poor performance on very large file" in the jetbrains.resharper.eap newsgroup]

Projects may have one or a few extremely large source files. These files are typically generated. These files can sometimes be so big, that the additional R# processing makes it impossible (40 seconds or more of 100% CPU time, VS not responding to any user input like e.g. ctrl+8 or ctrl+tab) to open that file in the editor. And as these files are generated, live errors and warnings are not that important.

The current option (ctrl + 8) to disable R# analysis when the file is open does not respond quickly enough. The first round of code analys seems to be finished first before it is switched of.

So, the request is to offer a way to disable code analysis for specified files before they are opened. Typically, this would be done in a user and project specific setting file.



 All   Comments   Work Log   Change History      Sort Order:
Erwin Derksen - 13 Dec 06 16:46
The same blocking of the user interface seems to occur when the "File Structure" window is open. Building the graphical representation of the file structure can take a very long time as well. So it would be nice if this could be switched off as well.

Whether to do this with a separate option or an all or nothing option is up to you.

Something like (my preference):
Have R# ignore:
filename: _______ [ ] do not analyse (checkbox) [ ] do not draw in file structure (checkbox)
filename: _______ [ ] do not analyse (checkbox) [ ] do not draw in file structure (checkbox)
...
filename: _______ [ ] do not analyse (checkbox) [ ] do not draw in file structure (checkbox)

Or just:
filename: _______
filename: _______
...
filename: _______


Erwin Derksen - 09 Jan 07 16:14
Another option within this feature would be to respect attributes that indicate that code is generated. As far as I know that is at least GeneratedCodeAttribute, but there may be other attributes.

Ilya Ryzhenkov - 18 Mar 07 17:36
Code Analysis Profiles will help with this, when implemented.

Mads Nissen - 19 Feb 08 20:17
What is the status on this one? I'm currently watching vs on my other screen sending the cpu in 100% due to the darn microsoft crm proxy file under webreferences (DOUGH! I KNOW I can't open that file).

Another option here is to by default disable code analysis for code files which are indicated as auto-generated. Most of that stuff is crap anyways. Would be nice to enable it again by clicking the green/yellow/red indicator icon in the top right corner of the edit area..


Eugene Pasynkov - 21 Feb 08 12:36
This issue is still pending, and won't be resolved in ReSharper 4.0