NetBeans 6.0 Cheat Sheet

December 11th, 2007

I stitched together a cheat sheet for NetBeans 6.0, boiling it down to what I find are the most useful shortcuts for Ruby and Rails stuff.

NetBeans 6.0 Cheat Sheets:
PC (Linux/Windows/etc) [PDF] [ODT]
Mac (OS X) [PDF] [ODT]

I’ve been using NB6 for a couple of weeks and I’m starting to feel good about it. A couple of tweaks after the initial install (of the Ruby flavor of NB6) that I have to make before I’m really happy:

  • Go to Tools, Plugins, and install Extra Ruby Color Themes, Ruby Extra Hints, and Ruby RSpec Support
  • Go to Options, Fonts & Colors, change “Profile” to “Ruby Dark Pastels” (this is the TextMate-like color scheme, I guess)
  • A couple of things bug me about the color scheme – most notably, under Syntax Highlighting, Ruby, I have to change Mark Occurrences to the Inherited background (otherwise, whenever your cursor is in a variable, it and all it’s occurrences will light up on the page, which I find very distracting). I also like to change the color of the highlighted row under the Highlighting tab on that page (the default background is too bright for me).
  • AutoComplete drives me crazy. I’ve always hated it – I feel like it slows my computer down and sometimes it even seems to derail me in the middle of typing something because the window comes up and somehow snags focus. I turn it off under Options, Editor, General (uncheck Auto Popup Completion Window).

Most of the TextMate snippets have been imported into NetBeans 6. I didn’t squeeze all of these into the cheat sheet because there are so many, and personally, I don’t use ‘em (there’s probably some irony in the fact that I’m too lazy to learn a shortcut). You can peep the list of default ruby snippets and rhtml snippets or just go search for a TextMate cheat sheet.

click thumbnail for larger image

For a no-cost, cross-platform IDE, NetBeans 6 may be hard to beat. I still feel like there are some minor stability issues, but for the most part it hums right along on my Ubuntu desktop and laptop (both Gutsy-AMD64 installs) and even works fairly well on my ASUS EeePC (running the pre-installed custom build of Xandros).

5 Responses to “NetBeans 6.0 Cheat Sheet”

  1. simone pernice Says:

    Hi,

    I would like to know how NetBeans works on eeePC? Can you write programs on a 800×400 resolution? I am asking because I am a NetBeans fan from long time and I want to buy an eeePC to carry with me while traveling.

    Thank you in advance for your help.

    Regards, Simone

  2. Jason Says:

    So far, so good. I’ve actually worked on some Rails projects in NB on the EeePC. It’s not ideal, but it’s actually workable. The screen is pretty tight, but NetBeans has a helpful feature where the sidebar can “autohide”, so you can mouse over it to browse for files when you need it and it stays out of the way when you don’t need it.

    One issue that a lot of programs have on the eeePC – dialog boxes that are more than 480 pixels tall. You have to move them around with the ol’ hold-down-ALT and drag trick in Linux. One nice thing about NetBeans is that oversized dialog boxes get scrollbars rather than extending off the screen.

  3. Rene Says:

    What font are you using in the editor?

  4. Rene Says:

    Never mind. I see that it’s Monaco as set by the Ruby Dark Pastels profile. My system doesn’t have it by default so I’ll go out and find it. Thanks.

  5. Apokaliptischen Says:

    How do you do (i mean Fonts & Colors Profile) so you can have the IDE that way???

Sorry, comments are closed for this article.