My project uses clang-format, and Re# successfully detected that. However once in a while (could be in 15minutes, could be in a day) Re# decides to switch to 2 spaces ident for no obvious reason to me. I see it when I press Enter, it jumps as the identification would be 2 instead of 4.
If I touch .clang-format, it switches back to 4.
May be Re# can't open a file for some reason and you default to 2? I can't repro it consistently.
JetBrains ReSharper 2020.2.1 Build 202.0.20200820.125348 built on 2020-08-20
ReSharper C++ 2020.2.20200820.145616