Results 1 to 10 of 10
Thread: Line Wrapping
- 06-24-2010, 02:54 AM #1
Line Wrapping
Is it possible to line wrap in Eclipse? Like in NetBeans? Possibility even have the vertical line at 80 width? I went to Preference > Java > Editor > Typing and wrapping string literals was already checked. Then I made my own Formatter (Preference > Code Style > Formatter > Edit > Change name to "Aziz" > Select all possibilities and select wrap all the time). It still does not wrap the freaking text! Any help is appreciated. Thanks in advance!
Last edited by Lil_Aziz1; 06-24-2010 at 05:56 PM.
"Experience is what you get when you don't get what you want" (Dan Stanford)
"Rise and rise again until lambs become lions" (Robin Hood)
-
did you set the max line width?
Last edited by Fubarable; 06-24-2010 at 03:11 AM.
- 06-24-2010, 03:42 AM #3
it was already set to 80.
"Experience is what you get when you don't get what you want" (Dan Stanford)
"Rise and rise again until lambs become lions" (Robin Hood)
- 06-24-2010, 04:26 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Is there an option on the editor popup? I've remember that in IntelliJIDEA has the similar option. Right click on your editor and check on the pop-up menu.
- 06-24-2010, 05:56 PM #5
Ooh okay so I made the margin at 80 width show, but it still won't wrap. To show the margin, I did: Preference > General > Editor > Text Editors > Check "Show print margin"
Still would like Eclipse to wrap the text :\"Experience is what you get when you don't get what you want" (Dan Stanford)
"Rise and rise again until lambs become lions" (Robin Hood)
- 06-24-2010, 07:09 PM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
So there is no option in the popup menu.
- 06-24-2010, 07:55 PM #7
Nope :(. After some more googling, I did find this:
How can I force line wrap in Eclipse Editor? - Dev Shed > EclipseZone - Word Wrap in the Eclipse Editor ...
Basically, to wrap lines in Eclipse, one needs to download a plug-in. This plug-in comes with a disadvantage: "He then proceeds to give a stern warning that this plug-in doesn't go so far as to fix so many of the side-effects this will produce. This particular release is naturally experimental because so many of the Eclipse features (annotations, line numbers, 'go to line', and so forth) will almost always be disrupted by this feature. "
Think I can live without a line wrapper ;)
Thanks guys!"Experience is what you get when you don't get what you want" (Dan Stanford)
"Rise and rise again until lambs become lions" (Robin Hood)
- 06-24-2010, 08:06 PM #8
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
I think that's one of the weak point I've seen in Eclipse. Most of the key features are comes with their party packages, in plug-ins. Do you really think that's okay?
- 06-24-2010, 08:28 PM #9
:| I completely agree with you. Do other IDEs like NetBeans do the same thing? Honestly, even if they didn't have the same problem, I probably wouldn't switch Eclipse to NetBeans because I've gotten so comfortable with using Eclipse.
"Experience is what you get when you don't get what you want" (Dan Stanford)
"Rise and rise again until lambs become lions" (Robin Hood)
- 06-25-2010, 02:47 AM #10
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Even NetBeans has large number of plugins, but most of the default features are comes with the default package. I would say what you really need is there in the default installation package.
Similar Threads
-
Need to read an .ini and .abook file line by line (both files contain texts)
By ollyworks in forum Java AppletsReplies: 4Last Post: 09-10-2009, 10:18 AM -
What does this line mean?
By JDAWG in forum New To JavaReplies: 3Last Post: 04-22-2009, 06:42 AM -
Reading in a line of data and splitting the line up into variables
By guru32 in forum New To JavaReplies: 9Last Post: 04-07-2009, 03:51 AM -
Reading in data from file line by line
By bluekswing in forum New To JavaReplies: 1Last Post: 10-02-2007, 12:19 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks