Skip to content

Netbeans 6.5.1, Line-spacing

Hello,

I was using NetBeans in Ubuntu 9.04 when i started a new project and I realized that the line-spacing is so fucking bigger. To fix this you have to do this:

Edit the file “org-netbeans-modules-editor-settings-CustomPreferences.xml”

$ pico org-netbeans-modules-editor-settings-CustomPreferences.xml

This file will be in:

/home/user/.netbeans/6.5/config/Editors/Preferences

If the file and the directory exists just add the following lines:

<entry javaType=”java.lang.Float” name=”line-height-correction”
xml:space=”preserve”>
<value><![CDATA[0.75]]></value>
</entry>

If don’t you have to create the directory “Preferences”:
$ mkdir Preferences
(In /home/user/.netbeans/6.5/config/Editors)

$ cd Preferences

And create the file:

$ pico org-netbeans-modules-editor-settings-CustomPreferences.xml

Add the following lines:

<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE editor-preferences PUBLIC “-//NetBeans//DTD Editor Preferences 1.0//EN” “http://www.netbeans.org/dtds/EditorPreferences-1_0.dtd”>
<editor-preferences>
<entry javaType=”java.lang.String” name=”code-template-expand-key” xml:space=”preserve”>
<value><![CDATA[TAB]]></value>
</entry>
<entry javaType=”java.lang.Float” name=”line-height-correction” xml:space=”preserve”>
<value><![CDATA[0.75]]></value>
</entry>
</editor-preferences>

Save, restart netbeans and enjoy it. 😉

Good Night,
Matheus

Portuguese Version

References:
http://my.opera.com/Nobita2708/blog/show.dml/2914020
http://www.linux4all.net/how_to_change_line_height_in_netbeans_editor
http://www.cs.wcupa.edu/rkline/netbeans-lin.html
http://www.google.com.br/search?hl=pt-BR&q=line+spacing+ubuntu+netbeans&btnG=Pesquisar&meta=

Published inAprendendoLinuxSoftware Livre

7,871 Comments

  1. Hi it’s me, I am also visiting this web site on a regular basis, this web page is really fastidious and the visitors are really sharing nice thoughts.

  2. Fobertnar Fobertnar

    Thank you for sharing your info. I really appreciate your efforts and I will be waiting for your next write ups thank you once again.
    no deposit bonus

  3. I do not even know how I ended up here, but I thought this post was good. I do not know who you are but certainly you’re going to a famous blogger if you aren’t already 😉 Cheers!

  4. It’s an awesome article in favor of all the internet people; they will get benefit from it I am sure.

  5. each time i used to read smaller posts which also clear their motive, and that is also happening with this article which I am reading at this time.

  6. I’ve been exploring for a bit for any high-quality articles or weblog posts on this sort of space . Exploring in Yahoo I at last stumbled upon this website. Studying this info So i am satisfied to show that I’ve an incredibly just right uncanny feeling I came upon exactly what I needed. I most no doubt will make certain to do not put out of your mind this web site and provides it a glance regularly.

  7. http://digital-moon.es/
    La empresa Digital Moon se presenta como una empresa profesional con presencia en el tejido empresarial espanol, que proporciona un acompanamiento profesional a quienes buscan resultados, destacandose por en los resultados. Mas informacion en el sitio oficial.

  8. It’s genuinely very complex in this full of activity life to listen news on TV, therefore I only use web for that purpose, and obtain the most up-to-date information.

  9. http://disenadorlogotipos.es/
    El proyecto Disenadorlogotipos se consolida como una empresa profesional enfocada en el mercado espanol, que ofrece un enfoque integral a quienes valoran la eficiencia, priorizando en la confianza y la transparencia. Descubre todos los detalles en el sitio oficial.

  10. 8k8 8k8

    Hmm it appears like your site ate my first comment (it was super long) so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying your blog. I as well am an aspiring blog blogger but I’m still new to everything. Do you have any suggestions for rookie blog writers? I’d really appreciate it.

  11. This web site definitely has all of the information and facts I needed about this subject and didn’t know who to ask.

  12. ACA 203 isn’t just another stop on the regional circuit ; it marks a critical crossroads for all involved.

Leave a Reply

Your email address will not be published. Required fields are marked *