Formatting Issues: Spaces in < > and Line Breaks

Hi,

I just started using CLion for C++. Here’s an example of my code:

namespace Test {
   static vector<vector<vector<int>>> *abc;
}

After reformatting, it turns into:

namespace Test {
   static vector <vector<vector < int>>> *
   abc;
}

I need:

  1. No spaces before/after < and >.
  2. No line break for abc.

How can I fix this?

Thanks!

 

0

Please sign in to leave a comment.