Multiple Suppress Comments

Is there a way in Resharper to have multiple Resharper suppress comments on one line, so instead of

// ReSharper disable InconsistentNaming

// ReSharper disable UnaccessedField.Local

// ReSharper restore InconsistentNaming

// ReSharper restore UnaccessedField.Local

You could have something like:


// ReSharper disable InconsistentNaming, ReSharper disable UnaccessedField.Local

// ReSharper restore InconsistentNaming, ReSharper restore UnaccessedField.Local

Thanks

2 comments
Comment actions Permalink

Hello Andy,

Such use case is not supported yet. You're welcome to put a feature suggestion
through http://youtrack.jetbrains.net/issues/RSRP. Thank you!

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

Is there a way in Resharper to have multiple Resharper suppress
comments on one line, so instead of

// ReSharper disable InconsistentNaming

// ReSharper disable UnaccessedField.Local

// ReSharper restore InconsistentNaming

// ReSharper restore UnaccessedField.Local

You could have something like:

*// ReSharper disable InconsistentNaming, ReSharper disable
UnaccessedField.Local*
**
*// ReSharper restore InconsistentNaming, ReSharper restore
UnaccessedField.Local*
Thanks

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



0
Comment actions Permalink

Will do.

Thanks

0

Please sign in to leave a comment.