Discussion:
Code formatting and line wrap length
arneand
2008-04-03 13:04:48 UTC
Permalink
Hi. I was wondering if someone knew how to, if possible, specify at what line
length netbeans should wrap lines when formatting the code. The only thing I
have been able to find is the ability to turn on and off wrapping of lines
while formatting.

Also, is there a way to tell netbeans to autoformat the code while saving
the file?

Arne
--
View this message in context: http://www.nabble.com/Code-formatting-and-line-wrap-length-tp16467468p16467468.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.
Jiri Prox
2008-04-03 14:04:52 UTC
Permalink
Hi,

the length is given by value Right Margin in Options-> Editor ->
Indentation. Visually it is indicated by red line in the right part of
editor.

Regards
Jirka
Post by arneand
Hi. I was wondering if someone knew how to, if possible, specify at what line
length netbeans should wrap lines when formatting the code. The only thing I
have been able to find is the ability to turn on and off wrapping of lines
while formatting.
Also, is there a way to tell netbeans to autoformat the code while saving
the file?
Arne
arneand
2008-04-04 07:45:44 UTC
Permalink
Ah! Thanks a bunch!!

A
Post by Jiri Prox
Hi,
the length is given by value Right Margin in Options-> Editor ->
Indentation. Visually it is indicated by red line in the right part of
editor.
Regards
Jirka
Post by arneand
Hi. I was wondering if someone knew how to, if possible, specify at what line
length netbeans should wrap lines when formatting the code. The only thing I
have been able to find is the ability to turn on and off wrapping of lines
while formatting.
Also, is there a way to tell netbeans to autoformat the code while saving
the file?
Arne
--
View this message in context: http://www.nabble.com/Code-formatting-and-line-wrap-length-tp16467468p16487252.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.
Loading...