cLion Reformat code controls?
已完成
Hey
I'd like to control a little on how cLion reformats my code. I think I'm mostly after having all my h. content tightly packed, so no empty lines between
void a()
void b()
void c()
I'd like
void a()
void b()
void c()
Is there a way to do this maybe ?
请先登录再写评论。
Wops found it, Settings>Editor>code style>c++blank lines tab.
But hmmm how can I control pre-declarations?
class something;
class otherThing;
class etc;
class stuff {
}
???
Hi Dariusz, please describe your last question in more detail. What is the initial formatting and what result would you like to get?
Hey
After setting the blank lines setting everything else started to work as expected. No more spacing, so I control what is spaced how much. Thanks!