How to increase line height in NetBeans 7?
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 -开发者_Go百科 no info about it :/
Here you go,
- Find
org-netbeans-modules-editor-settings-CustomPreferences.xml
in~/.netbeans/x.x/config/Editors/Preferences
wherex.x
is your netbeans version. - Add this xml markup just above
</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.
@pengemizt answer is greate but it is long time now for netbeans 11.2 on Ubuntu 18.04 LTS you will look for
org-netbeans-modules-editor-settings-CustomPreferences.xml
inside
snap/netbeans/common/data/11.2/config/Editors/Preferences
You can change this
<![CDATA[1.4]]>
as you like for me I make it 1.5
<![CDATA[1.5]]>
精彩评论