Possible preference change? [message #901454] |
Sun, 12 August 2012 11:13  |
Eclipse User |
|
|
|
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 06:47  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.06211 seconds