Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

Eclipse - how to change to option: automatic-linebreak

Thread view: 
S - 08 Dec 2005 22:28 GMT
I know there is a place in eclipse where you can turn on
automatic-linebreak, that is - if the line is longer than the width of
the current editor-window - it will automatically continue on the next
line, instead of continuing to the right. So there is no need for
scrolling left-right. If you understand what I mean. This is an
Eclipse-editor issue - not a java-code issue, but did not find any
eclipse-forums here.
Luke Webber - 08 Dec 2005 23:02 GMT
> I know there is a place in eclipse where you can turn on
> automatic-linebreak, that is - if the line is longer than the width of
[quoted text clipped - 3 lines]
> Eclipse-editor issue - not a java-code issue, but did not find any
> eclipse-forums here.

You mean if the code formatter, right? Not in the editor? Because it'd
be a royal pain in the arse if the editor automatically wrapped, IMO.
And I can't see that there's an option for it.

For the code formatter, choose Window|Preferences, select the Java node,
Code style, Formatter and edit the profile. There's a tab labelled "Line
wrapping".

HTH,
Luke
S - 08 Dec 2005 23:11 GMT
Hm, I checked the settings - and changed it. But it does not change
already written code? Right now I have lines as long as **** - so it
would be great if there was some kind of auto-feature to update all the
code to the new settings.

Thanks for fast reply.
IchBin - 08 Dec 2005 23:52 GMT
> Hm, I checked the settings - and changed it. But it does not change
> already written code? Right now I have lines as long as **** - so it
> would be great if there was some kind of auto-feature to update all the
> code to the new settings.
>
> Thanks for fast reply.

Now select Source / Format

Look at it before you save it.

Signature

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)

Hendrik Maryns - 09 Dec 2005 10:18 GMT
S schreef:
> I know there is a place in eclipse where you can turn on
> automatic-linebreak, that is - if the line is longer than the width of
[quoted text clipped - 3 lines]
> Eclipse-editor issue - not a java-code issue, but did not find any
> eclipse-forums here.

Eclipse has its own newsserver: news.eclipse.org, and there is a
newsgroup eclipse.newcomer.  You´ll need to ask for a password for the
server first, see the website (they don´t ask anything, it´s just an
anti-spam measure).

Furthermore, look into Ctrl+Shift+F on Win or Esc Ctrl+F on Linux.

H.

Signature

Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org

S - 09 Dec 2005 10:51 GMT
Thanks - I will look into that newsgroup


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.