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?
Please sign in to leave a comment.
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!"
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.
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!"
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.
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!"