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.


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
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 :-/


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:

or this:

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

and change the shortcut.

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, Firefox, MacVim, and Aquamacs.
jjinux said…

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:

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

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

Creating Windows 10 Boot Media for a Lenovo Thinkpad T410 Using Only a Mac and a Linux Machine

TL;DR: Giovanni and I struggled trying to get Windows 10 installed on the Lenovo Thinkpad T410. We struggled a lot trying to create the installation media because we only had a Mac and a Linux machine to work with. Everytime we tried to boot the USB thumb drive, it just showed us a blinking cursor. At the end, we finally realized that Windows 10 wasn't supported on this laptop :-/ I've heard that it took Thomas Edison 100 tries to figure out the right material to use as a lightbulb filament. Well, I'm no Thomas Edison, but I thought it might be noteworthy to document our attempts at getting it to boot off a USB thumb drive: Download the ISO. Attempt 1: Use Etcher. Etcher says it doesn't work for Windows. Attempt 2: Use Boot Camp Assistant. It doesn't have that feature anymore. Attempt 3: Use Disk Utility on a Mac. Erase a USB thumb drive: Format: ExFAT Scheme: GUID Partition Map Mount the ISO. Copy everything from