First alpha of eclipse word wrap released!
First experimental version (0.0.1) of eclipse word/line wrapping is now released to test plugin release cycle, update-site
structure and deliver almost working version of wordwrap!
The first version of word wrap is using eclipse SWT own wrap functionality that is disabled in eclipse SDK text/java editors. This plugin is basically just providing context menu option to turn this wrap on/off for active editor. It should be usable enough and I’ll encourage everyone to give it a try – it will make your life easier!
And now comes the warning!
Current alpha-version of Virtual Word Wrap does not work properly with line numbers, line highlight etc! But this error is just temporary – after turning wrap off you should have everything back to normal.
I’m definetaly working on this rendering issue and maybe eclipse StyledText wrap cannot be used at all to keep this wrap functional for line highlights etc. It would be possible but this will most probably require rewriting all affected plugins – which is too much!
Getting wordwrap-0.0.1
I’ve set up eclipse update site http://ahtik.com/eclipse-update/ that you can add as a remote update site in eclipse and just go ahead to install first alpha-version of wordwrap!
UPDATE!
Reporting errors
Add any errors you encounter as comments to this post.
Also send .log from workspace/.metadata/ directory to ahti.kitsik@gmail.com
Please do not report bugs about damaged rendering of line highlight, line numbers and other rendering-related issues.
But no harm done if you do – then I’m able to notify you when issues are fixed.
42 Comments »
RSS feed for comments on this post.




Hi
I gave it a quick try. Installing went just fine but when i opened an editor and (un)ticked the “Virtual Word Wrap” from the context menu all i got was “The chosen operation is not currently available.” information message.
I’m using eclipse Version: 3.2.0 Build id: I20060428-1315. I tried the word wrap with the java editor and a simple text editor (actually i just opened a .java file and a .txt file
).
Toomas
Comment by tom_ — June 19, 2006 @ 9:22 am
Thanks for the feedback, tom!
Was your step-by-step actions similar to R.J. Lorimer at
http://www.eclipsezone.com/eclipse/forums/t74384.html
?
I know that this error message appears to me when I tried to invoke action in a place in a wrong context. With this first release I tried to remove all possibilities to show this context-menu option in a wrong place.
Looks that still something was left out
To reiterate, please check that forum post and let me know exact method you have used to open this context menu.
Thanks again!
Comment by ahti.kitsik — June 19, 2006 @ 4:02 pm
Tom, Please be sure to send me the workspace log file when you get this “The chosen operation is not currently available” error again! Thanks!
Comment by ahti.kitsik — June 19, 2006 @ 7:37 pm
Stack trace sent, happy coding!
Comment by tom_ — June 20, 2006 @ 9:36 am
Thanks! Your problem (actually mine) was java version (Unsupported major.minor version 49.0).
I unintentionally compiled plugin for java5.0.
Will try to fix this today evening and make this available as 0.0.2.
Probably just replacing binary of 0.0.1 version is not very good idea? or is it?
Comment by ahti.kitsik — June 20, 2006 @ 12:34 pm
0.0.2 is much better. It is a new version
Comment by heru — June 20, 2006 @ 5:15 pm
Thanks a ton for this very useful feature. The first additional feature request: when this gets it’s own preferences, please let me set the indent level for wrapped lines – it would be nice if I could set it to some constant, at least – like 5 column. Even better would be something like “initial line +5″ so that all wrapped lines were indented 5 from the starter line. In the meantime, thanks again!
Comment by Kurt Werle — July 11, 2006 @ 7:11 pm
Word Wrap in Eclipse…
It is still very buggy but we can live with it; you can enable Word Wrap in Eclipse. It screws up the line number, line height, etc but they will get back to their normal state once you turn off Virtual Word Wrap. How to install? Open Eclipse Help >…
Trackback by Brajeshwar — August 2, 2006 @ 11:24 am
Hi there, just wondering if there was a way to create an auto-hard word wrap in Eclipse. I want it to follow the format guidlines automatically (without hitting Cntrl + Shift + F).
Any way to do that, or does your plugin help with that?
Thanks.
Comment by Bryan — January 20, 2007 @ 7:05 am
[...] Word Wrap plugin [...]
Pingback by Random Technology » Blog Archive » Blogging From Within Eclipse - metaWeblog Plugin — February 8, 2007 @ 5:12 am
This is a very useful plug in. Is there any keyboard shortcut for this feature?
Comment by Loke — May 19, 2007 @ 7:02 am
When I try to install I am getting error like unable to access “http://ahtik.com/eclipse-update/” timed out.
Comment by syed — August 20, 2008 @ 5:10 pm
When I try to install I am getting error like unable to access “http://ahtik.com/eclipse-update/†Connection time out.
Is there any other way to install this feature ?
Comment by syed — August 20, 2008 @ 5:38 pm
For me it works, could you try again? getting the same error? btw, a new version with shortcuts etc is coming out soon
Comment by Ahti — August 22, 2008 @ 3:25 pm
Line counting is broken with the wrapping, and make it dificult looking for code bugs.
Comment by kNo — September 23, 2008 @ 11:43 am
Uh, as a very old man and one who really would prefer to use vi/Vim, I’m looking for a “hard” line-wrapper. I don’t want my lines wrapped virtually, but hard-wrapped since I otherwise have to do it by hand.
Comment by Russell Bateman — September 24, 2008 @ 12:03 am
I’m japanese HTML author.
I trying out wordwrap by Aptana studio 1.1.6(standalone) & Eclips-3.4 + plug-in version on Linux.
Thanks!!!!!!
In Japanese or CJK have no ’space charactor’ between the words at writing.
So, absolutely needed word wrap function of edditor.
Comment by tanaka — September 25, 2008 @ 5:58 pm
any progress on this project? when will it be out of alpha? and yes i’d like my code “hard” wrapped too :/
Comment by sindhu — September 26, 2008 @ 8:10 am
Thanks Ahti!
Hope you can get it to play nicely with line numbering as per earlier posts esp. PDT in the near future.
Comment by Ed Daniel — October 2, 2008 @ 5:07 pm
Nice plugin, man! It really helps when writing long lines codes… Great work!!!
Comment by Aki — October 6, 2008 @ 10:35 am
When I try to install I am getting error like unable to access “http://ahtik.com/eclipse-update/†timed out.
Comment by sklep komputerowy — October 22, 2008 @ 5:54 pm
Hi,
great plug in but why does the text get unwrapped every time I browse to a different tab?
–Usman Ismail
Comment by Usman Ismail — October 28, 2008 @ 2:32 am
Hi Usman!
There are a couple of enhancement in progress right now and hopefully new version will get released soon, within weeks. I’ll let you kow.
thanks!
PS. Amazing that people still manage to type the recaptcha words. Sorry for that! I wish I would know something just as efficient..
regs,
Ahti
Comment by Ahti — November 3, 2008 @ 9:44 pm
Thanks much for creating and publishing this extension. I’m a new student of programming, and Eclipse is my first IDE, my OCD was killing me. Thanks again for this extension. Dare I ask, is it possible to enable this functionality in Eclipse’s “console” as well? (One can dream!)
Comment by Abisha — November 11, 2008 @ 7:55 am
ohh, excellent suggestion, thanks!! Will take into account!
Comment by Ahti — November 12, 2008 @ 11:42 am
It works just fine . Nice one. Thanks a lot.
Comment by nocommerce — November 14, 2008 @ 3:16 pm
Hello,
I’m so happy to have found your blog … I’m just discovering PDTEclipse, and the missing word-wrap fucntion was a pity !
Maybe your next version will resolve numbering “errors” ? I hope so … or that eclipse itself will in the future resolve it.
Thank’s
Comment by Emmanuel — November 30, 2008 @ 10:44 pm
hey, i’m using eclipse SDK 3.4.1 Build id: M20080911-1700 and i installed the plugin but i don’t get the ‘virtual word wrap’ on any of the menus, therefore cant use it.
Comment by xsk — November 30, 2008 @ 11:24 pm
We have internally already a new version ready to be shipped soon. Line numbers etc are not working yet but at least new features include keyboard shortcuts and toolbar button for enabling/disabling wrapping.
Comment by Ahti — December 1, 2008 @ 12:12 pm
xsk, I’ll make sure that new version will work with 3.4.1.
Drop me a line by e-mail if you want and I can notify you when the release is out.
Comment by Ahti — December 1, 2008 @ 12:13 pm
Thanks for the good plugin. It would be great if the word wrap is done with the mention of the indentation of the code lines. That would make the code more comfortable for reading.
Smth like that:
Comment by Ilya — February 7, 2009 @ 7:55 pm
Great Tool.. Thanks
From Paraguay!
Comment by Jean-Claude — February 18, 2009 @ 11:26 pm
Hi would love to know if the next version is ready? It’s been a few months since your last update.
Comment by mark — March 5, 2009 @ 7:01 am
that’s awesome! Many thanks for that.
I wish I can do the same for the run/debug console, got an idea how to do wrapping there as well ?
Comment by youssef — March 18, 2009 @ 5:32 pm
Thanks for bringing me yet another step closer to a workable development environment.
Comment by Willem Mol — April 16, 2009 @ 6:30 pm
Thank-you for your hard work, it’s really appreciated.
Comment by Ken Wood — May 13, 2009 @ 4:30 am
Any plans to not reset the word wrap setting when reopening a file? Or to enable it across the entire project? Thanks!
Comment by wr — June 2, 2009 @ 9:49 pm
Thank you and the subject site’s outstanding
منتديات,فحص
البيج رانك,دليل مواقع
Comment by منتديات — August 17, 2009 @ 11:35 pm
Brilliant! Thanks!
Comment by Shane — November 18, 2009 @ 3:12 am
I pasted the file in the plugins folder… but the new menu item “Virtual Word Wrap” is not added to editor context menu. Where am I doing wrong???
Comment by Giraldi — December 14, 2009 @ 6:52 pm
I have installed it according to the directions on your site. Similar to Comment by xsk — November 30, 2008 (comment #28), I do not see Virtual Word Wrap in any of the menus despite it being shown in the Eclipse software updates as installed. My version of Eclipse is Version: 3.4.2 Build id: M20090211-1700. I don’t think that it matters but my os is the native Japanese version of Windows Server 2003.
Comment by Jeff — December 17, 2009 @ 9:38 am
Soft-wrap is the ONE missing feature of eclipse that I really, really need… but I need line-numbering to work properly for it. Have there been any updates that fix these issues?
Textwrangler does great soft-wrapping and handles the line numbers just fine with it, but of course, it’s not a complete IDE. However, if you could integrate TextWrangler’s editing power with the rest of Eclipse, it would be total heaven.
Comment by AC — December 17, 2009 @ 5:26 pm