How to define Eclipse "Code Style" for C ++ Macro?

When I automatically format my C ++ code containing a macro, Eclipse adds line breaks and indents before the ";" character. For instance:

// Tests TEST(Test1, Test1) { EXPECT_EQ (2.0*2.0, 4.0) ; } 

How to define / change the code style so that it appears as:

 // Tests TEST(Test1, Test1) { EXPECT_EQ (2.0*2.0, 4.0); } 
+4
source share

All Articles