Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Formatting options(Formatter inserts a return )
Formatting options [message #693050] Tue, 05 July 2011 17:19 Go to next message
Andy  is currently offline Andy Friend
Messages: 16
Registered: May 2011
Junior Member
When I use the formatter (ctrl+F) to format my jsp page it inserts a return.
"nextProjectBean = (ProjectBean) currentProjectList.get(nextProjectListID);"

gets formatted to

"nextProjectBean = (ProjectBean) currentProjectList
.get(nextProjectListID);"

How can I prevent this?
Re: Formatting options [message #693057 is a reply to message #693050] Tue, 05 July 2011 17:30 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
You've looked at the preferences for Java -> Code Style -> Formatter?

> When I use the formatter (ctrl+F) to format my jsp page it inserts a
> return.
> "nextProjectBean = (ProjectBean)
> currentProjectList.get(nextProjectListID);"
>
> gets formatted to
> "nextProjectBean = (ProjectBean) currentProjectList
> .get(nextProjectListID);"
>
> How can I prevent this?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Formatting options [message #693068 is a reply to message #693057] Tue, 05 July 2011 17:59 Go to previous message
Andy  is currently offline Andy Friend
Messages: 16
Registered: May 2011
Junior Member
Ah, that's what I was looking for.

Thanks! Rolling Eyes
Previous Topic:JSF2+Indigo - HTML editor doesn't see annotated beans
Next Topic:What programming languages can Eclipse support?
Goto Forum:
  


Current Time: Fri Apr 26 19:29:57 GMT 2024

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

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

Back to the top