K
K
Katzuhiro_Akira2018-08-20 19:24:51
Eclipse
Katzuhiro_Akira, 2018-08-20 19:24:51

How can I tweak code primitives in eclipce?

Good day. Tell me how you can change the code primitives in Eclipse?
The situation is simple. The parentheses are in the wrong place and the case-break is shifted.
Here is an example:

case value:
         break;

if(){

};

Need:
case value:

break;

if()
{

};

- I do not argue, the question is a bit stupid. I just forgot where this setting is in eclipse. The old ide taught me this kind of code because of the highlighting of words and brackets for easier orientation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2018-08-20
@Katzuhiro_Akira

Window->Preferences->C/C++->Code Style->Formatter
Create your own style by copying one of the presets and edit it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question