Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Horstmann style formatter(Java code style)
Horstmann style formatter [message #1314514] Fri, 25 April 2014 12:16 Go to next message
Ray c is currently offline Ray cFriend
Messages: 1
Registered: April 2014
Junior Member
I want to format java code according to the Horstmann style

In this style the first statement of a block is on the same line as the opening brace.
while (x == y)
{ something();
if (x < 0)
{ printf("Negative");
{ printf("Non-negative");

How to configure the formatter to do this?
Re: Horstmann style formatter [message #1316015 is a reply to message #1314514] Sat, 26 April 2014 08:22 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 7871
Registered: July 2009
Senior Member

this question is a bit to general to give an answer.
do you have any specific questions?
Previous Topic:scoping, auto complete and validation
Next Topic:Reference elements from a different file
Goto Forum:

Current Time: Fri Nov 27 21:12:34 GMT 2015

Powered by FUDForum. Page generated in 0.02080 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software