Jimmy’s Blog

Netbeans 6 – Configure which editor (representative class) for new type extension

by jimmy on Nov.20, 2007, under English, Java, Programming

A friend who is using Netbeans 6 ask how to configure Netbeans so it’ll open his start.tml as an html file not just as ordinary text file (So the editor will full with color I assume, not just black text :p)

I didn’t asked him why the hell he using .tml not just .html :) but I tell him that he can configure Netbeans 6 with:

  1. Choose Tools – Options
  2. Click on ‘Advanced Options’ button (on bottom left)
  3. Open the tree : ‘IDE Configuration’ – ‘System’ – ‘Object Types’
  4. Find ‘HTML Objects’
  5. Add extension tml to ‘Extension and MIME Types’ property
  6. Close
  7. Now evertime you double click .tml file it’ll call HTML objects’ representative class :)

*Check this article on NetBeans Community Doc ^^

Related posts:

  1. Using svn+ssh with Netbeans 5.5 + Windows
  2. Change junit & run file (main class) working directory at Netbeans 5.5 Web Project
  3. NetBeans 6 Bug – ConfigurationException Class in Apache Common Configuration is not Throwable?
  4. NetBeans IDE 6 final released
  5. NetBeans 6 T-shirt

:, , , , , ,

13 Comments for this entry

  • puputs

    jadi pengguna netbean nie jim.
    udah gak pake eclipse lagi ya :p

  • jimlife

    Lagi nyobain Netbeans 6 beta nya…
    Dah mulai oke code editor nya :D

  • puputs

    gw jg baru coba2 netbean sie, tapi masih yg versi 5,

    btw kalo buat ngeluarin usulan solusi error kayak di eclipse pake CTRL+1, kalo di netbean apa ya jim,

    btw udah d taining k luar blom. bagi2 pengalaman dong :p

  • jimlife

    Coba yang 6 deh.. biar lebih enak code editornya, walau masih beta (masih ada beberapa bug).
    Kalo di Netbeans 6 shortcutnya alt+enter.
    Di tools – options – Keymap bisa diubah-ubah dan ada profile Eclipse (ngikutin list shortcut Eclipse :)

    Waktu itu pas awal pindah seminggu ke Hongkong, belajar soal Ringback tone & company products :p

    Lebih banyak pengalaman u donk, dah keliling banyak kota.

    Oya bisa ya sambungin blogger ke domain u (puputs.com), wordpress bisa gak ya gw sambung ke blog.jimmod.com

  • puputs

    sory jim comen sebelumnya.. ad yang login word press pake kompie gw :p so apus aja

    Oh ya. hmm bisa kayak eclipse ya..
    layak di coba tuh kayaknya.

    waaah pengalaman di hongkong harus di tulis di blog jim…. pengalaman beda tuh :)

    gw cuma sekitar sumut aja jim…gak pake Visa :p

    kayaknya wordpress juga bisa deh, ada Option>Domain tapi gw juga lom pernah coba arahin ke werdpress :p

  • jimlife

    Ada tapi mesti beli 10 credits dulu :(
    Payah..
    Di blogger.com gratis ya

  • puputs

    kalo di bloger gratis jim,

    gw sebenernya seneng werdpress, buat masukin komenntar lebiih enakan word press jim kayaknya,

    kalo mau pake dari domain redirect ke url aja jim, coba aja buka vdirect.com, tapi ntar ada iklannya,:( gw pernah coba,

    ada juga yang free everydns.net tapi gw gak coba, soalnya ternyata di blogger juga menyediakan, :p

  • jimlife

    Kalo redirect dah gw coba, di blog.jimmod.com.
    Tapi kan url addressnya jadi brubah :p
    Dari domain management gw udah ada fitur redirect ini.

  • puputs

    kalo pake vdirect.com gak gitu jim.
    blog.jomod.com gak kan berubah alamatnya
    dia tetep blog.jomod.com, trus kalo klik2 yang laen urlnya juga tetep, jadi blog.jomod.com/2007/… gitu jim, lumayan oke kan, cuma ada iklannya aja :(

  • James Branam

    Hi,
    My name is James Branam and I’m the NetBeans Community Docs Manager. Your blog entry would make a fantastic Tips & Tricks entry for our Community Docs wiki (http://wiki.netbeans.org/wiki/view/CommunityDocs). Would you be willing to contribute it? If you need any help or have any questions, please contact me at james.branam@sun.com. I look forward to hearing from you.

  • jimlife

    Hi James,

    Thanks for the comment.
    Sure, it’ll be great to have my tips on Netbeans wiki.

  • Sylvestre Mergulhao

    Hi Jimmy,

    I tried to put .rsel files to be highlighted like .rb files but it doesn’t works. Netbeans 6.0 generates an NullpointerException and do not open .rsel files anymore.

    If I remove the extension from the configuration I can open .rsel files again, but with no highlight of course.

    If you can help.

    Thanks.

  • jimlife

    Hi Sylvestre,

    I’ve try your case and also experiencing same error, NullpointerException.
    I think this could be a bug, because I’m not having problem with adding new extension for Java & C++ representative class.

Leave a Reply

Anti-Spam Protection by WP-SpamFree

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...