Resharper C++ Inconsistent naming not showing warning

I've set up the naming style rules for C++ however when I break them there isn't any warning displayed.

E.g naming rule for Classes and Structs is set to UpperCamelCase however the following code doesn't produce a warning.

class badnameclass

{

};

I have noticed that the "Inconsistent Naming" for Inspection Severity isn't tagged with C++ so maybe this isn't available?

This is in Visual Studio 2015 and Resharper Ultimate v2016.2.2.

Any advice/help is appreciated.  Thanks!

0
2 comments
Avatar
Permanently deleted user

Hello,

You are correct, the "Inconsistent Naming" inspection hasn't been implemented yet for C++ - sorry about that, please follow https://youtrack.jetbrains.com/issue/RSCPP-14010 for updates.

At the moment, R++ uses naming rules only for generation of new names (e.g. for introduce refactorings or generate).

Thanks!

0

Thanks for the fast response Igor!  I'm glad to see that there's a issue being worked on.

I'd love to see this come to life soon (especially as it's advertised on the R# C++ website ;) ).

0

Please sign in to leave a comment.