Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Eclipse - how to change to option: automatic-linebreak

Reply
Thread Tools

Eclipse - how to change to option: automatic-linebreak

 
 
S
Guest
Posts: n/a
 
      12-08-2005
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.

 
Reply With Quote
 
 
 
 
Luke Webber
Guest
Posts: n/a
 
      12-08-2005
S wrote:
> 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.


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
 
Reply With Quote
 
S
Guest
Posts: n/a
 
      12-08-2005
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.

 
Reply With Quote
 
IchBin
Guest
Posts: n/a
 
      12-08-2005
S wrote:
> 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.

--


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-)
 
Reply With Quote
 
Hendrik Maryns
Guest
Posts: n/a
 
      12-09-2005
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
> 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.


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.

--
Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org
 
Reply With Quote
 
S
Guest
Posts: n/a
 
      12-09-2005
Thanks - I will look into that newsgroup

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Eclipse : change the eclipse user-agent for updates Headphones Java 1 09-29-2006 12:04 PM
Eclipse not picking modified files that where change outside eclipse... karmjunk@gmail.com Java 1 09-11-2006 04:10 AM
Eclipse plugin to invoke GUI menu option without IDE imichel Java 2 06-11-2006 12:42 AM
Eclipse plugin to invoke GUI menu option without IDE imichel Java 0 06-06-2006 01:31 PM
Eclipse Internal Web Browser option disabled JM Java 0 01-03-2006 02:54 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57