I found a hack how to increase it in 6.9, but it does not work in NetBeans 7. Is there any way to increase the space between the lines in ver. 7? Please help, googled it too - no info about it :/
By default, line numbers are switched off in the Source Editor to save space and reduce visual clutter. If you need the line numbers, you can turn them on by choosing View | Show Line Numbers. You can also right-click in the left margin of the Source Editor and choose Show Line Numbers.
The red line simply marks 80 characters wide (by default) and is a visual guide to break long expressions over multiple lines. You can adjust the placement of the red line in (Netbeans 6.7): Tools > Options > Editor > Formatting. On the left you'll see Right Margin, with a default value of 80.
If you just want to hide the line, you can change its color: Tools > Options > Fonts and Colors > Highlighting > Category > Text Limit Line.
Here you go,
org-netbeans-modules-editor-settings-CustomPreferences.xml
in ~/.netbeans/x.x/config/Editors/Preferences
where x.x
is your netbeans version.</editor-preferences>
or anywhere if you know what you doing.<entry javaType="java.lang.Float" name="line-height-correction" xml:space="preserve">
<value><![CDATA[1.4]]></value>
</entry>
In Apache Netbeans 14,
I was installed it via .sh file
I figure out how to change/add editor custom preferences as well open
/home/username/.netbeans/14/config/Editors/Preferences/
and open
org-netbeans-modules-editor-settings-CustomPreferences.xml
then add a new entry
<entry javaType="java.lang.Float" name="line-height-correction" xml:space="preserve">
<value><![CDATA[1.5]]></value>
</entry>
Have a nice edit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With