Separate formatting rules for .h and .cpp files Mr Ivanoff Created September 22, 2016 20:02 Is it possible to have separate formatting rules for .h and .cpp files?
Hello,
ReSharper C++ does not support that at the moment. What's your use case and what rules do you want to set separately for .h and .cpp files?
I believe it's possible to have per-project formatting settings (see https://blog.jetbrains.com/dotnet/2012/01/18/per-project-settings-or-how-to-have-different-naming-styles-for-my-test-project/ for details), so you could move your header files into a separate project and specify different formatting rules for it.
We have different indenting rules for .h and .cpp files.