Parameter name doesn't match rule "unknown element" Follow
Resharper C++ can't figure out what is "myName"
void func(const std::string& myName)
I have rules for parameter names, but since resharper can't figure out where is parameter, it says that I violate naming rule for "unknown element". I can't even edit naming rules for "unknown elements".
Please sign in to leave a comment.
When you see "Unknown element" this means that the element did not match any naming rule at all. We plan to hide the naming inspection in cases like this (https://youtrack.jetbrains.com/issue/RSCPP-26083).
Could you please show what your naming rule for parameters looks like? Or just export naming settings and we'll take a look.
Ah, Entity Kind was unset. Don't know how that happened, but now it works.