facebook

Word wrap

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #223909 Reply

    stanquinn
    Member

    Is it possible to turn on word wrap on the jsp/java editors? If so I can’t find it. It’s a royal pain having to scroll over to see the entire line of code. Thanks.

    #223935 Reply

    Riyad Kalla
    Member

    Is it possible to turn on word wrap on the jsp/java editors?

    Not real-time, but you can setup your formatter to word wrap at a certain length and when you format the file it will break at that length (as best it can).

    Windows > Prefs > Java > Code Style > Code Formatter > Customize

    #246507 Reply

    But unless I am mistaken, this does not really help if you have an href with a lot of parameters in a JSP page.
    Breaking it might not really agree with the browser later on.

    Is there really no way for MyEclipse / Eclipse to wrap a line? Most other (partly very simple) editors I have used had that functionality.

    Seb

    #286536 Reply

    stanquinn
    Member

    Anyone? Anyone? Seems like a trivial thing to implement…you have the “visual return” and an actual return for a new line. How it’s displayed in the GUI really has very little to do with how it’s parsed and compiled. If you can store meta information about the file you can surely store information about where the visual returns are taking place. It’s been, what…3 years and I still can’t get this feature? Jedit’s been doing it for years, but lacks a lot of other features i need. It’s been an issue for Eclipse since the beginning and a requested feature since 2002ish. https://bugs.eclipse.org/bugs/show_bug.cgi?id=35779. Hard to believe that the basic editor code is so whack you can’t hack a visual line return into it.

    #323921 Reply

    piforest
    Member

    You may try the com.ahtik.wordwrap feature which URL is :
    http://ahtik.com/eclipse-update/
    I use it for a while now in every Eclipse deployment
    * from Eclipse
    * from Zend
    * from MyEclipse

    It is very convenient to be able to view a file with no horizontal scrolling even if you dont want to edit it in that mode.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Word wrap

You must be logged in to post in the forum log in