Catch more FxCop-like style issues?

FxCop is a good utility for finding code correctness issues as well as
ensuring code conforms to microsoft coding standards.

ReSharper already catches some things like unused imports, unused variables,
unused methods, etc.

It might be nice if ReSharper could catch some other things, like enforcing
some simple naming conventions (like all parameters and local variables and
class fields start with a lower case letter, and all methods, class names,
and properties start with an upper case letter). This should be an OPTION
of course, but I think it would be cool to see how many of the FxCop-style
checks one could put into Resharper to just see in the editor as one types,
rather than having to run an external tool.



1 comment
Comment actions Permalink

We will definitely work in this direction and add more such checks in future.
Also our IDE will have open API and one will be able to implement such checks
in an add-in.

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

FxCop is a good utility for finding code correctness issues as well as
ensuring code conforms to microsoft coding standards.

ReSharper already catches some things like unused imports, unused
variables, unused methods, etc.

It might be nice if ReSharper could catch some other things, like
enforcing some simple naming conventions (like all parameters and
local variables and class fields start with a lower case letter, and
all methods, class names, and properties start with an upper case
letter). This should be an OPTION of course, but I think it would be
cool to see how many of the FxCop-style checks one could put into
Resharper to just see in the editor as one types, rather than having
to run an external tool.



0

Please sign in to leave a comment.