JetBrains RubyMine provides navigation and refactoring for Javascript

Working with JQuery in Visual Studio, we don't have all the nice navigation, refactoring, and immediate error visibility we have with C# and ReSharper.  Today I installed RubyMine, a brand new IDE from JetBrains.  I opened up a javascript file and was pleased to find that the ReSharper/IntelliJ IDEA experience transfers over one-to-one.  All the shortcut keys are the same and all the refactoring and navigation was here, too.  It makes working with Javascript a breeze!  This IDE is brand-new, and I hope that they will plop this functionality into ReSharper for Visual Studio users, but for now, this is a good workaround when dealing with some non-trivial Javascript.  In this screen-shot below, you can see that I pressed CTRL+SHIFT+F7 to show usages of "this._jqm".  It highlights all the usages, just like with ReSharper

I then tested out the refactoring and extracted a variable with CTRL+ALT+V.  The following dialog was to be expected, and it refactored just like I'm used to with C#.

       

This is a very interesting IDE, and I'll be keeping tabs on it.  It is focused for Ruby development, but it can be useful apart from a server-side framework.


Trackbacks

JetBrains RubyMine provides navigation and refactoring for … Posted on 2.17.2009 at 7:40 PM

Pingback from JetBrains RubyMine provides navigation and refactoring for …

Reflective Perspective - Chris Alcock » The Morning Brew #389 Posted on 2.18.2009 at 2:40 AM

Pingback from Reflective Perspective - Chris Alcock » The Morning Brew #389

Comments

Steve Bohlen said on 2.20.2009 at 6:09 AM

This is great news for those R# adopters; one of the many reasons that I gave up on R# and moved to CodeRush + RefactorPro! was that RefactorPro! has introduced this same refactoring support for Javascript directly from within the VS IDE rather than making me use a diff editor for the javascript in my projects.

I'd be interested in your thoughts about the friction (if any) you experience in having some of your project work occur in one IDE and other in another IDE. Do you think that the combination of it taking until VS 2008 for MS to get a decent javascript experience into VS and the introduction of the "you will need to spend at least some time in BLEND" for WPF work has dulled the overriding need to "do all editing in a single environment" ?