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

11,465 Comments

  1. GeorgeVioca GeorgeVioca

    Все необходимые услуги для сохранения здоровья пациентов нашей клиники оказывают высококвалифицированные специалисты с большим опытом работы. В штате центра — наркологи, психиатры, психотерапевты, клинические психологи, которые ежедневно помогают людям вернуться к здоровой жизни. Мы используем только сертифицированные лекарственные препараты и современное оборудование, что гарантирует безопасность и эффективность процедур. Персонал отделения — это опытные медсестры, которые обеспечивают комфортное пребывание и круглосуточный уход. Администраторы и координаторы всегда на связи, готовы ответить на любые вопросы и оформить запись на прием.
    Детальнее – detoksikaciya-organizma-ot-narkotikov-moskva

  2. Selam millet Oranlar düşük, destek yok, her şey yalan 10’dan fazla site denedim Her şey hızlı ve güvenli — 1xbet türkiye en iyisi Canlı destek gece gündüz aktif Neyse, tüm detaylar linkte — birxbet giriş birxbet giriş Sakın dolandırıcılara kanma Bahis yapan herkese gönder

  3. no how to deposit echeck chase (Guillermo)
    bingo bonus usa, new usa gambling sites and slot machines sale united states,
    or online gambling canada illegal

  4. The post is absolutely fantastic! Lots of great info and inspiration, both of which we all need! Also like to admire the time and effort you put into your website and detailed info you offer! I will bookmark your website!

  5. Herkes dinlesin Ödemeler geç geliyor, canlı destek yok Onlarca site denedim hepsi hayal kırıklığı Her şey pürüzsüz çalışıyor — 1xbet güncel giriş burada Her gün özel bonus ve bedava bahis kampanyaları Neyse, tüm bilgiler linkte — 1 x bet giriş 1 x bet giriş Sakın sahte sitelere kanma Bahis yapan herkese yolla

  6. What a information of un-ambiguity and preserveness of valuable familiarity about unpredicted feelings.

  7. Having read this I thought it was extremely enlightening.

    I appreciate you taking the time and energy to put this short article
    together. I once again find myself spending a lot of time both reading and posting comments.
    But so what, it was still worthwhile!

  8. JamesPreme JamesPreme

    Вывод из запоя — это профессиональная наркологическая помощь, направленная на безопасное прерывание длительного употребления алкоголя, выведение токсинов, восстановление организма, нормализацию сна, водно-электролитного баланса и снижение проявлений алкогольной интоксикации. При длительном запое человек часто теряет контроль над количеством спиртного, продолжая пить даже при плохом самочувствии, рвоте, тревоге, нарушениях поведения, проблемах со стороны сердечно-сосудистой и нервной систем. В таких случаях самостоятельный выход может быть опасен, поэтому вызов нарколога помогает быстро оценить ситуацию и подобрать эффективное лечение.
    Выяснить больше – вывод из запоя дешево в геленджике

  9. Herkese merhaba Uzun zamandır düzgün bir bahis sitesi bulmak çok zor Paramı geri alamadım, sinirlerim altüst oldu Bu site kesinlikle iyi çalışıyor — 1xbet türkiye lider bahis Müşteri desteği 7/24 aktif Neyse, kaydedin kenarda dursun — 1x bet giriş 1x bet giriş Tek adres 1xbet giriş Bahis yapan herkese yolla

  10. Beyler bahis severler Oranlar kötü, destek yok, her şey berbat Hepsinde dolandırıldım Her şey şeffaf ve hızlı — bahis siteler 1xbet lider Her gün bonus ve bedava bahis var Neyse, kaybolmasın diye tıkla — 1 x bet 1 x bet Sakın sahte sitelere bulaşma Bahis yapan herkese yolla

  11. Beyler bahis severler İyi bir bahis sitesi bulmak çok zor Neredeyse bahis işini bırakıyordum Her şey şeffaf ve hızlı — 1xbet güncel giriş Çekim dakikalar içinde Neyse, kaybolmasın diye tıkla — 1xbet üyelik 1xbet üyelik Sakın sahte sitelere bulaşma Bahis yapan herkese yolla

Leave a Reply

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