Disable code inspection with comment?

In Resharper .NET there is

// ReSharper Disable All
...do not show any warnings here....
// ReSharper Restore All

to disable some warnings in the code. Instead of all you can more selectively disable warnings. This does not seem to work in the C++ edition.

How can I disable warnings in the Code in Resharper C++?

Thanks,
Tobias

2 comments

Hello Tobias,

  There is pretty similar ticket in YouTrack https://youtrack.jetbrains.com/issue/RSCPP-13756. Feel free to comment and vote for it.

Thanks!  

0

It's case-sensitive

// ReSharper disable All

note the lower-case "d"

 

 

1

Please sign in to leave a comment.