This might be nitpicky, but I like all my code to be in the form
function()
{
code
}
instead of
function() {
code
}
When Eclipse autogenerates a class for me, it will use the latter format, and so I have to go through and change all of the generated methods. Is there anyway to make it so it will put it in the first format automatically? I'm using java if that makes a difference.
Click "edit" on the following panel to control the formatter:
Yup. Look in Preferences -> Java -> Cody Style -> Formatter. you can alter a BUNCH of styles in there.
I think what you're looking for is in the Braces tab
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With