where to find all // Resharper disable *** options?

for example, resharper supports these temporary options in code:

// ReSharper disable InconsistentNaming

// ReSharper restore InconsistentNaming



// ReSharper disable CodeCleanup
// ReSharper restore CodeCleanup



but where can i find a full set of description about these options?
5 comments
Comment actions Permalink

Hello victor,

There's an options page (ReSharper | Options | Code Inspection | Inspection
Severity) where you can see the list of available inspections and change
their severities. Could you please clarify what kind of description do you
need for these options? Thank you!

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

for example, resharper supports these temporary options in code:

// ReSharper disable InconsistentNaming
// ReSharper restore InconsistentNaming
// ReSharper disable CodeCleanup
// ReSharper restore CodeCleanup
but where can i find a full set of description about these options?

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



0
Comment actions Permalink

hi, sorry for my poor original description.
i meant is there some options that temporarily disable some function in "Code Cleanup", that just need to insert "// Resharper disable ***" into my codes.
for example i want to disable member sorting in one of my class.
thanks for your concern.

0
Comment actions Permalink

Hello Victor,

At the moment code cleanup (or a part of it) cannot be disabled for a part
of the source file. As a workaround, you can temporarily put a file into
generated files list under ReSharper | Options | Code Inspection | Generated
code. Thank you!

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

hi, sorry for my poor original description.

i meant is there some options that temporarily disable some function
in "Code Cleanup", that just need to insert "// Resharper disable ***"
into my codes.

for example i want to disable member sorting in one of my class.

thanks for your concern.

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



0
Comment actions Permalink

Thank you for your reply !
Will it be added as a new feature? Because resharper  settings can't be always shared between team, but comment in code is flexible.

0
Comment actions Permalink

Hello Victor,

I've added a feature request: http://youtrack.jetbrains.net/issue/RSRP-187963
and you're welcome to monitor its status. Thank you!

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

Thank you for your reply !
Will it be added as a new feature? Because resharper  settings can't
be always shared between team, but comment in code is flexible.
---
Original message URL:
http://devnet.jetbrains.net/message/5269440#5269440



0

Please sign in to leave a comment.