Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Possible preference change?(Changing the default preferences of eclipse)
Possible preference change? [message #901454] Sun, 12 August 2012 15:13 Go to next message
Jack Erickson is currently offline Jack EricksonFriend
Messages: 1
Registered: August 2012
Location: Ojai
Junior Member
Hello, this may be a rather simple and trivial question, and I'm sorry if it is, but when I write code I prefer the open twisty to go to the next line rather than trail the method.

For example:
public static void main(String[] Args)
{

}

but when I create a class in Eclipse it generates the class as
public static void main(String[] Args){

}


I am assuming there is a way to change the preferences so when I create a class it generates as the first example. I know it's not that big of a deal, but it's really starting to bother me. Can anyone instruct me on how to change this?

Thanks.
Re: Possible preference change? [message #901550 is a reply to message #901454] Mon, 13 August 2012 10:47 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 12.08.2012 17:13, Jack Erickson wrote:
> Hello, this may be a rather simple and trivial question, and I'm sorry
> if it is, but when I write code I prefer the open twisty to go to the
> next line rather than trail the method.
>
> For example:
>
> public static void main(String[] Args)
> {
>
> }
>
> but when I create a class in Eclipse it generates the class as
>
> public static void main(String[] Args){
>
> }
>
>
> I am assuming there is a way to change the preferences so when I
> create a class it generates as the first example. I know it's not that
> big of a deal, but it's really starting to bother me. Can anyone
> instruct me on how to change this?
You can change this on the 'Braces' tab of the Java > Code Style >
Formatter preference page.

Dani
>
> Thanks.
Previous Topic:How send Email in JSP page by java?
Next Topic:Not Using the Internal Compiler
Goto Forum:
  


Current Time: Fri Apr 19 15:00:59 GMT 2024

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

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

Back to the top