Can R# suggest 'var' for reference types, but not value types?

I'm a huge fan of using the var keyword for most situations.  I do like seeing the declarations for value types (int, bool, etc.), though.  Is there a way to set R# to only suggest 'var' for reference types, so I don't see the squiggles?

1 comment
Comment actions Permalink

Hello Jeremy,

At the moment this option can not be configured for value types separately.
You're welcome to add a feature request at http://youtrack.jetbrains.net/issues/RSRP.
Thank you!

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

I'm a huge fan of using the var keyword for most situations.  I do
like seeing the declarations for value types (int, bool, etc.),
though.  Is there a way to set R# to only suggest 'var' for reference
types, so I don't see the squiggles?

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



0

Please sign in to leave a comment.