Gemalto is now part of the Thales Group, find out more.

You are here

Eclipse Juno Code Formatter | Thales IoT Developer Community

September 27, 2016 - 3:35pm, 2050 views


I'm using Eclipse IDE to develop software (Java) for BGS5 module.

I have started to use Code Formatter property of Eclipse via ctrl+shift+f keyboard shortcut nowadays.

When I use this functionality, some codes is divided into 2 line because of maximum line width limit of formatter. This property is set in formatter profile, line wrapping tab. It is set to 80 default. I have created a new profile using existing one and changed maximum line width as 120. But it does not effect the code. Formatter still divides code into new line after 80 character. I have tested same thing with new eclipse version(mars2), it works. It divides code into new line according to the setting. I think Juno has a bug about this issue.

Is there anyone faced with this problem? How can I solve it?

Is it possible to use last eclipse version instead of juno properly?

Best Regards,