Saturday April 21, 2007 I've heard from a number of people that the ability to jump to a file by type (Open Type), or by filename (Open File) are really important to them. To the point of being adoption blockers.
Both are in the works.
NetBeans has always had a Go To Type for Java (Alt/Ctrl-Shift-O), which we're now retrofitting to become a generic Goto Type facility that other languages can plug into. That means introducing a new API etc. which requires some more effort - so this isn't there for Milestone 9. However, in the meantime, I've taken the early work on that and hacked it into a Ruby-only module which will let you jump to Ruby types. It's there in the editor context menu (under Go To), bound to a different shortcut. Unlike the general Open Type which will work from any file (or even when you're in a non-source editor window), this will only work from Ruby files. You can get the module here. That's an NBM file - a netbeans module bundle - which you can install via Tools | Plugins - just switch to the Downloaded tab and point to your NBM. Click Add Plugins. (Sorry, the modules are not signed so you'll get a warning.) It will require a restart. Also, the revamped Plugin Manager is brand new and is stabilizing right now - you may run into some issues. One thing to try is to install one module at a time. You need brand new Ruby bits for this too - go to nbextras.org.
Here's a screenshot of what it looks like (although this includes Java type matches, which the provided hacked module won't do) :
The ability to jump to any file based only on the filename (not the path) is tracked in issue 44586, and there's been some work happening in a branch. Even though it's not done, you may find it useful in your day to day work. To get it, you can download the module here. Once done, you'll have a Goto File In Project item in your Navigate menu. The operation is faster after the first time.
Finally, I've updated the TextMate snippet importer I recently discussed with some bug fixes - get the latest version here.
(2007-04-21 10:18:24.0) Permalink Comments [12]
Posted by Si on April 22, 2007 at 01:35 AM PDT #
Posted by Greg Fodor on April 24, 2007 at 10:34 AM PDT #
Posted by Greg Fodor on April 24, 2007 at 12:47 PM PDT #
Posted by Greg Fodor on April 25, 2007 at 11:26 AM PDT #
Posted by Tor Norbye's Weblog on April 25, 2007 at 12:31 PM PDT #
Posted by seb on April 25, 2007 at 12:31 PM PDT #
Posted by Greg Fodor on April 25, 2007 at 05:10 PM PDT #
Posted by Dirk on May 08, 2007 at 03:23 AM PDT #
Posted by Dirk on May 08, 2007 at 03:51 AM PDT #
Posted by Dirk on May 08, 2007 at 04:41 AM PDT #
Posted by GregH on May 10, 2007 at 02:21 AM PDT #
I use a config file in etc, to point elsewhere for the ruby1 cluster, but putting the cluster in there should work fine too.
Posted by Si on May 10, 2007 at 08:49 AM PDT #