I’ve been doing quite a lot of my php web development coding in netbeans lately and one of the thing that bugs me most is that there is no word wrap functionality in netbeans. I have a 24 inch lcd screen and configured screen resolution to 1920×1280. I wonder what will other developers do when they have a smaller screen and how do they work with an ide without word wrap such as Netbeans.
I’m not sure but I’ve also heard that Eclipse doesn’t allow you to view your code in word wrap? I’m not using Eclipse personally since I find Eclipse PDT or the Zend Studio plugin a bit tedious to configure when I tried it 2 years ago.
Comments?
* The word wrap issue in Netbeans is a reported bug and is currently having a P1 (highest) priority to be fixed in 6.9. Since you’re here, don’t forget to also login and vote for it to be solved. More details here.
* Confirmed: Eclipse doesn’t support word wrap as well and it has been a heavily requested feature which has not been fixed or given any attention since 2003!
Eyad Salah says
We properly format our code 🙂
David says
Yeah, that’s one way of doing it 🙂
shumisha says
well, how do you format :
const informationMsg = “I’ve been doing quite a lot of my php web development coding in netbeans lately and one of the thing that bugs me most is that there is no word wrap functionality in netbeans. I have a 24 inch lcd screen and configured screen resolution to 1920×1280. I wonder what will other developers do when they have a smaller screen and how do they work with an ide without word wrap such as Netbeans.” ?
David says
Shumisha, good point and I absolutely agree with that. That can happen anyway in any language. Imagine a long paragraph of sentence in a html …. and you can see why it can be a pain to not have word wrap. I’m waiting to see how other people work around this.
BTW, can someone confirm me that Eclipse has this same problem as well? Is it really so hard in Java to support word wrap (both Netbeans and Eclipse are developed in Java AKAIK) or what?
Arun Zaheeruddin says
@Sushima: I was actually one of the first people to request the word wrap functionality in Netbeans and we have been at it since 2007. Although, for now, till the time it is actually implemented, we can use the following code formats to work around the problem. Cant’ we?
In PHP code:
const msg = “I’ve been doing quite a lot of my php web ”
.”development coding in netbeans lately and one of ”
.”the thing that bugs me most is that there is no word ”
.”wrap functionality in netbeans. I have a 24 inch lcd ”
.”screen and configured screen resolution to 1920×1280. ”
.”I wonder what will other developers do when they have a ”
.”smaller screen and how do they work with an ide without ”
.”word wrap such as Netbeans.”
In HTML markup:
I’ve been doing quite a lot of my php web
development coding in netbeans lately and one of
the thing that bugs me most is that there is no word
wrap functionality in netbeans. I have a 24 inch lcd
screen and configured screen resolution to 1920×1280.
I wonder what will other developers do when they have a
smaller screen and how do they work with an ide without
word wrap such as Netbeans.
shumisha says
Hi
No, sorry, we can’t do that. I am doing multi-lingual web software, with pages of embedded language strings such as tooltips help text. Most of them are about the size of the sample I used in this post to illustrate my point.
They are updated regularly with new versions as well.
In such a situation, my IDE (whether Netbeans or Eclipse actually) has become an obstacle instead of the helpful tool it is in other cases.
What I do now is do code in IDE and edit language strings in a small text editor. Noting to be proud of 🙂
Stephane says
TextWrangler on a Mac isn’t an IDE, but it does word-wrap and has a built in SFTP browser. The only reason I’m here is because TextWrangler doesn’t handle nested folders very well and some of my recent projects are more MCV and navigation has become painful. Hopefully NB will be the right choice for now, although no word wrap is going to be very annoying since a lot of this code was written with word-wrap.
Oh and BBedit I think is the windows (not free) version of TextWrangler.