Indents in C++ variable initialization with curly braces
Dear JB Community,
I want to initialize an std::vector in the following way:
std::vector<T> myVector {
t1,
t2,
t3
};
where I want to have indents consisting of 2 spaces before t1, t2, t3. However I always get 4 there (I switched two 2 spaces all the C++ settings of indents but it does not help).
Does anybody know how to deal with it?
请先登录再写评论。
Hello!
Sorry for the delay in response.
Is the issue still relevant? If it is, please specify if the Nova language engine is enabled or disabled in your CLion - https://www.jetbrains.com/help/clion/clion-nova-introduction.html#switch-to-nova-via-settings. If the Nova engine is enabled, please also provide a screenshot of the
Generaltab inFile | Editor | Code Style | C/C++.