Disable type / property name etc analysis in a specific assembly?

Is there a way to disable type / property name analysis in a specific assembly?

In my unit tests I frequently myself writing variables, types, classes, methods etc that all use _ to seperate words to make reading long names easier. This of course violates the standard naming conventions of .NET and R# points all of this out. Is there a way i could stick something like perhaps in the assembly.info that will tell R# to ignore this entire assembly?

0
2 comments
Avatar
Permanently deleted user

Hello Chris,

Naming style can not be configured on a per project/assembly basis. However,
you can create a separate naming style for unit test methods and classes:
open ReSharper | Options | Languages | Common | Naming Style, click 'Advanced
Settings...', click 'Add' under 'User naming rules', choose 'Test type' or
'Test method(property)' and define desired style. Let me know if this helps.
Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Is there a way to disable type / property name analysis in a specific
assembly?

In my unit tests I frequently myself writing variables, types,
classes, methods etc that all use _ to seperate words to make reading
long names easier. This of course violates the standard naming
conventions of .NET and R# points all of this out. Is there a way i
could stick something like perhaps in the assembly.info that will tell
R# to ignore this entire assembly?

---
Original message URL:
http://devnet.jetbrains.net/message/5323522#5323522



0

Excellent, this while being more effort than just "turn off" is exactly what I needed.

0

Please sign in to leave a comment.