code inspection vs code clean up rules

Hey There.
I'm having an issue with the Code editing conventions and code inspections..
we are trying to set up linting conventions for our team to follow, but the "inspection" and the "code cleanup" do not follow the same rules.
for example we set the max number of char per line to 160, but the inspection will not give any warnings if this convention is not followed.
Is there a way to have the "code inspection" and "code cleanup" rules work the same? ie throw errors if the conventions are not followed

1 comment
Comment actions Permalink

Hello,

ReSharper C++ includes a collection of inspections for common formatting issues. They are disabled by default to avoid being too noisy, but it looks like you might want to enable them. However, there's no specific inspection for the maximum line length limit. I've filed https://youtrack.jetbrains.com/issue/RSCPP-31948, please vote for the issue.

Thanks!

0

Please sign in to leave a comment.