Ir ao conteúdo

Netbeans 6.5.1, Espaçamento..

Opa,

Como disse no post anterior instalei o NetBeans agora a pouco. Ao executar o mesmo, criar um novo projeto e arquivo percebo que o espaçamento (line-spacing) do mesmo está muito grande. Para alterar o mesmo você deve fazer o seguinte:

Editar o arquivo: org-netbeans-modules-editor-settings-CustomPreferences.xml

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

Este arquivo está encontrado no seguinte diretorio:

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

Caso o arquivo e o diretorio existam simplesmente adicione as seguintes linhas:

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

Se o mesmo não exista, provavelmente você terá que criar o diretorio Preferences:

$ mkdir Preferences
(se você estiver no /home//.netbeans/6.5/config/Editors)

$ cd Preferences

E crie o arquivo:

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

Adicione o seguinte conteudo:

<?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>

Salve, reinicie o netbeans e pronto.

Uma otima noite a todos,
Matheus

English Version

Fontes:
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=

PS: Isso não é simplesmente uma tradução, a idéia basica está postada, mas aqui foram adicionadas algumas informações.

Publicado emAprendendoLinuxSoftware Livre

17.889 Comentários

  1. online casinos in ontario australia, spin casino australia and best new casino nz, or bingo win real cash (Alfredo)
    money pokies canada safe and secure

  2. all slots casino united kingdom reviews, 21 dusaes casino bonus money no deposit [Frieda] and no deposit bonus codes australia casino, or gambling statistics
    in usa

  3. Wow that was strange. I just wrote an very long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Regardless, just wanted to say excellent blog!

  4. biggest usa gambling sites, united statesn gambling websites blackjack counting aces and fives, Trena, bingo the uk, or paypal poker sites australia

  5. gambling in canada statistics, australia gambling winnings taxable and golden pokies united states, or how much does
    canada spend on pokies

    Here is my blog: 1000 free casino mix-up (Brandi)

  6. remote gambling usa license, best united kingdom online casino slots and
    best real money pokies australia with neosurf, or how do you get chips at a casino
    (Broderick)
    to win roulette in casino uk

  7. united kingdom online souper spectacle casino mont tremblant (Patti) real money no deposit bonus, uk online
    slots sites and free united statesn poker money, or best online casino to win money united kingdom

  8. free online casinos australia, difference between european roulette and united kingdom and
    best online slots canada, or gambling bonuses co usa

    Here is my web blog – echeck deposit, Bebe,

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *