开发者

How to increase line height in NetBeans 7?

开发者 https://www.devze.com 2023-04-08 18:49 出处:网络
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 abo

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,

  1. Find org-netbeans-modules-editor-settings-CustomPreferences.xml in ~/.netbeans/x.x/config/Editors/Preferences where x.x is your netbeans version.
  2. 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]]>
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号