Skip to main content

IDE: NetBeans after Six Months

I've been using NetBeans for six months. I thought I'd whip out a quick post to tell you how it's gone. My earlier post is here.

I found a bunch more things I like. I finally figured out how to open files quickly. In the Projects window on the top left, click on the name of the project. Now, typing one letter at a time, you can get autocomplete. It took me a little while to figure out how it works, but now I can open files more quickly than I can visually parse things.

I also figured out that if I maximize the editor, and I shrink the size of the whole window, I can get the editor to fit in smaller places without taking up the whole desktop. That's helpful when I'm copying code I'm reading from a PDF to NetBeans even though I only have a 13" MacBook screen. (I like to manually copy code samples when I'm reading a book in PDF form because it helps me to learn the code better. I'm stuck with a tiny screen because I do a lot of my work at Starbucks.)

I still love jVi. It's not perfect, but it's pretty good.

I love the way NetBeans automatically fills in closing ", ], }, end, etc. for Ruby. This really speeds me up.

I don't like the fact that jVi can't wrap my comments and docstrings using gq} as well as Vim can.

I like having NetBeans launch my Ruby web server. It's one less window I don't need to worry about.

However, I still prefer to execute most things like rake tasks and ruby script/generate in the shell.

The coding hints aren't perfect. They're sometimes wrong, but that's not the end of the world. They're still a net positive.

I love using the find window when doing grep hunts. Since the window is open, it's easy for me to go down the list carefully making changes where necessary.

I'm happy with the plugin system. I didn't need to read any documentation, yet I've installed plugins for PHP, Ruby on Rails, jVi, etc.

In general, NetBeans is way easier to get up to speed with than Eclipse, which is the thing I like most about it.

Comments

Anonymous said…
you can use netbeans for python too.
Anonymous said…
> I finally figured out how to open files quickly

I am sure you will be faster with ALT+SHIFT+O
Anonymous said…
forgot a good link

http://refcardz.dzone.com/refcardz/netbeans-ide-67-update
jjinux said…
> you can use netbeans for python too.

Exactly, and I do.

> I am sure you will be faster with ALT+SHIFT+O

Hmm, that doesn't do anything on my Mac :-/

> http://refcardz.dzone.com/refcardz/netbeans-ide-67-update

Cool. There's also a reference card that you can open in the help menu. That's how I finally figured out how to use Cntl-Tab and Cntl-Shift-Tab to switch between tabs. However, I wish it supported Cmd-Shift-{ and Cmd-Shift-} like a lot of other Apple apps.
Anonymous said…
Ah, okay your are on mac.

If this does not help:
http://wiki.netbeans.org/KeymapProfileFor60

or this:
http://www.netbeans.org/kb/articles/mac.html

you can try to go to Tools->Option->Keymap->go to file

and change the shortcut.

BTW:
To switch between documents I favour CTRL+PageUp or CTRL+PageDown (I don't know for mac :-()
jjinux said…
Ah, Cntl-Shift-o, that's awesome! It matches ":e **/filename.txt" in Vim. I only mention Cmd-Shift-{ and Cmd-Shift-} because it works in Terminal.app, Firefox, MacVim, and Aquamacs.
jjinux said…
> http://wiki.netbeans.org/RubyShortcuts

Wow, that's totally awesome, and totally overwhelming. I wonder how many of those work since I'm already using jVi.
jjinux said…
Note to self:

Don't install NetBeans from Ubuntu's packages. It's just not that great. Instead:

apt-get install sun-java6-bin sun-java6-jdk
update-alternatives --config java

Download NetBeans directly from the website and install that.

See also: https://help.ubuntu.com/community/Netbeans

Popular posts from this blog

Ubuntu 20.04 on a 2015 15" MacBook Pro

I decided to give Ubuntu 20.04 a try on my 2015 15" MacBook Pro. I didn't actually install it; I just live booted from a USB thumb drive which was enough to try out everything I wanted. In summary, it's not perfect, and issues with my camera would prevent me from switching, but given the right hardware, I think it's a really viable option. The first thing I wanted to try was what would happen if I plugged in a non-HiDPI screen given that my laptop has a HiDPI screen. Without sub-pixel scaling, whatever scale rate I picked for one screen would apply to the other. However, once I turned on sub-pixel scaling, I was able to pick different scale rates for the internal and external displays. That looked ok. I tried plugging in and unplugging multiple times, and it didn't crash. I doubt it'd work with my Thunderbolt display at work, but it worked fine for my HDMI displays at home. I even plugged it into my TV, and it stuck to the 100% scaling I picked for the othe

ERNOS: Erlang Networked Operating System

I've been reading Dreaming in Code lately, and I really like it. If you're not a dreamer, you may safely skip the rest of this post ;) In Chapter 10, "Engineers and Artists", Alan Kay, John Backus, and Jaron Lanier really got me thinking. I've also been thinking a lot about Minix 3 , Erlang , and the original Lisp machine . The ideas are beginning to synthesize into something cohesive--more than just the sum of their parts. Now, I'm sure that many of these ideas have already been envisioned within Tunes.org , LLVM , Microsoft's Singularity project, or in some other place that I haven't managed to discover or fully read, but I'm going to blog them anyway. Rather than wax philosophical, let me just dump out some ideas: Start with Minix 3. It's a new microkernel, and it's meant for real use, unlike the original Minix. "This new OS is extremely small, with the part that runs in kernel mode under 4000 lines of executable code.&quo

Drawing Sierpinski's Triangle in Minecraft Using Python

In his keynote at PyCon, Eben Upton, the Executive Director of the Rasberry Pi Foundation, mentioned that not only has Minecraft been ported to the Rasberry Pi, but you can even control it with Python . Since four of my kids are avid Minecraft fans, I figured this might be a good time to teach them to program using Python. So I started yesterday with the goal of programming something cool for Minecraft and then showing it off at the San Francisco Python Meetup in the evening. The first problem that I faced was that I didn't have a Rasberry Pi. You can't hack Minecraft by just installing the Minecraft client. Speaking of which, I didn't have the Minecraft client installed either ;) My kids always play it on their Nexus 7s. I found an open source Minecraft server called Bukkit that "provides the means to extend the popular Minecraft multiplayer server." Then I found a plugin called RaspberryJuice that implements a subset of the Minecraft Pi modding API for B