How can I change the default editor code formatting style in TrueSTUDIO?

Discuss how to use the features of Atollic TrueSTUDIO, including the editor, assembler, C/C++ compiler, linker, debugger, static code analysis and team collaboration tools.

Moderators: Markus Girdland, Mattias Norlander

forum18@atollic.com
Posts: 0
Joined: Tue Oct 13, 2015 12:16 pm

How can I change the default editor code formatting style in TrueSTUDIO?

Postby forum18@atollic.com » Wed Nov 04, 2015 11:01 am

The Eclipse editor have nice auto-formatting, but I would like to configure in which coding style it formats the code into. I have not been able to find any configuration for this. Is it possbile?

Thanks!

-Walter

Hritter
Posts: 0
Joined: Tue Nov 10, 2015 9:05 pm

In the top menu strip: Windows

Postby Hritter » Tue Nov 10, 2015 11:37 pm

In the top menu strip:
Windows > Preferences

On the preferences dialog window:
C/C++ > Code Style > Formatter

Once there you can totally control how the editor will help you code in your own way. You can then save the format out to a preferences file and pull it in for any project.

Hritter
Posts: 0
Joined: Tue Nov 10, 2015 9:05 pm

One more thing. Once there,

Postby Hritter » Tue Nov 10, 2015 11:40 pm

One more thing. Once there, click the edit button at the top to see and change all of the settings.

mibu
Posts: 0
Joined: Fri Aug 19, 2016 8:40 am

Is it possible to make

Postby mibu » Fri Aug 19, 2016 9:47 am

Is it possible to make the auto formatter ignore a certain section of code?


Return to “Atollic TrueSTUDIO tool discussions”

Who is online

Users browsing this forum: No registered users and 2 guests