New Ruby Features in 7.0 M2

It's been a while since I blogged about new features in the Ruby area, so here's a couple of screenshots of some enhancements that have made it to M2 (should be out on Feb 18th if the plan doesn't change).

In the project logical view, under the platform node, you can now see the gems installed for that platform:

At least I find myself often wanting to look at sources for gems, so this should make it a bit more convenient to open gem source files in the IDE.

The Rake Runner dialog now maintains a list of previously entered task parameters (instead of just the last one entered):

For db:migrate tasks it also prepopulates the combo box with the migrations found in the project:

It'd be nice if the combo box had autocomplete, something I'll need to look at that still.

There are also a couple of testing related enhancements, one is Run Focused test and Run again/Debug support for Shoulda and another one a visual diff viewer for assert_equals failures.

There's a View Differences action on the test method node for assert_equals failures:

(And as you can see the test runner's got a new set of icons too).

When you invoke it, you get the following viewer:

There is more of course, but I'll leave something for the next entry too. Comments / ideas for improvements / bug reports are welcomed as always!

Comments:

Hi,

Can you explain in short, what are the plans for the support for Rails 3.0 in future.

Will this come in Netbeans 7.0 or 7.1 in future.

I think... the Rails 3.0 Beta would be out in May 2009.

Thanks

Posted by SoftMind on January 23, 2009 at 09:50 PM CET #

Let me begin by saying that Netbeans for Rails development is one of the best IDEs I have seen - great job guys.

I hope that v7.0 will bring some needed improvement to the built in script/console. Specifically:

1. Syntax highlighting
2. Command History bound to "up/down" (as in a true script/console session)
3. IRB history between sessions
4. Tab autocomplete of method names

All of these things are possible with Wirble, but my lack of knowledge of writing a Netbeans plugin is what stopped me from doing this myself early on. For now, I stick with Windows Powershell.

More info here:
http://simpson.mine.nu/?p=744

Posted by Mr Frosti on January 24, 2009 at 09:10 AM CET #

Hi SoftMind,

Supporting Rails 3 is definitely a top priority for NetBeans, whether we'll have full support in 7.0 or 7.1 depends on the release schedules of both Rails and NetBeans -- but even if Rails 3 will be released too late for 7.0, I think we'll try to deliver support for it via the NB update center so that users don't have to wait for 7.1.

Cheers,
Erno

Posted by Erno Mononen on January 24, 2009 at 11:13 AM CET #

Hi Mr. Frosti,

Thanks for the kind words and for the feedback! You're absolutely right that the console experience needs to be improved. In 7.0 we should have a terminal emulator (some more info at http://wiki.netbeans.org/TerminalEmulator, though the page is a bit NB developer oriented), which should radically improve the current situation.

Thanks,
Erno

Posted by Erno Mononen on January 24, 2009 at 11:15 AM CET #

@Erno

The TerminalEmulator looks really promising. I downloaded the TermApp utility, launched it, launched irb, and fired up the Wirble gem, and as I hoped, I got syntax highlighting, command history, tab auto-completion.

Getting really excited now, I went back to get the termmodule NBM, and pointed Netbeans to the download location. On installation, Netbeans reported that "The plugin JNA is requested in implementation version 081029." - which I believe is what you are saying about waiting until 7.0

I can't wait - this looks really awesome!

Posted by Mr. Frosti on January 25, 2009 at 11:50 PM CET #

Hi Erno,

I love all these changes. Can't wait to try them out. NetBeans Ruby just gets better and better.

Posted by C Kutler on January 29, 2009 at 06:02 PM CET #

Post a Comment:
Comments are closed for this entry.
About

emononen's blog

Search

Top Tags
Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today