ignore generated code
AFAIK, in in resharper 4.0 you can "hide" code from resharper via regions, or by setting files or folders (options - Code Inspection Settings - Advanced).
Why oh why, however, does this feature not support wild cards?? It would be very nice if we could set "*.Designer.cs" to be ignored by R#...
Or is there some hidden way to do this already?
Edited by: jeroenh on Jul 18, 2008 11:25 AM
Please sign in to leave a comment.
Hello,
R# also ignores C# files that are dependent upon other C# files (have the
"DependentUpon" metadata item set, pointing to a C# file). Visual Studio
sets this for .Designer.cs files by default (and they thus appear nested
under the non-designer part file in the Solution Explorer). In this case
it's not necessary to use regions or exclude the files manually.
—
Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”
That's not what we see here... Opening a *.Designer.cs file (e.g. for a typed dataset) is generally awfully slow because R# is generating a huge amount of warnings... Is there something we miss?
This may be a VS2008 feature vs VS2005.I definiteley have some older projects generated with VS2005 that incur serious performance issues when opening up designer files (not to mention the time wastedin Global Analysis ofsuch files)
FYI: I'm seeing these performance problems in VS2008 (.Net 2.0, projects converted from VS2003/.Net 1.1)
"jeroenh" <no_reply@jetbrains.com> wrote in message
news:21463445.134041216388839586.JavaMail.jive@app4.labs.intellij.net...
I have the same experiences here.