04/01/06: JavaScript and Ruby support in IDEA

In addition to Ruby, I've been doing a lot of JavaScript programming lately, and I've just moved from Eclipse to IntelliJ IDEA 5.1. Their new JavaScript plugin works like a dream. It makes me hope for an IDEA Ruby plugin.

Here's a short list of what works:

  • Shift-F6 - Rename classes, methods, variables
  • Renaming a file searches references and changes them (e.g., script tags in jsunit test files)
  • Dot completion, Ctl-Space - gives you a list of all methods, and narrows down.
  • F4 / Ctl-B / Ctl-Click - go to the definition of the method or class you're looking at
  • Ctl-Shift+Alt+N - search across all JS files for any variable, class, constant, method, or other symbol. Goes to to the definition when you hit enter.
  • Ctl-Shift-N - go to file (equivalent of Ctl-Shift-R in Eclipse)
  • Ctl-F12 - jump to a class or method in your current JS file
  • Red syntax error squigglies - You know how you're run jsunit all those times where it just freezes because you have a syntax problem? Steve and I have gone 5 days without having that problem. I expect we won't see that again for some time.
  • Alt-F7, on classes and methods - Find usages. YAY.
  • Ctl-Alt-L - apply code style (reformat)
  • Ctl-Shift-V - multi-level paste
Now, a few things are a little rough -- e.g., Rename is a bit aggressive, so I've started doing Preview to make sure it doesn't delve into libraries when I'm renaming symbols with popular names like "execute" or "element". And sometimes it's a bit too liberal in its autocomplete suggestions. But overall it's fantastic. This vast success gives the lie to the common wisdom that you can't build good refactoring support for a dynamic language.

So now it seems Sixth and River may make a Ruby plugin for IDEA. See River of Code: Ruby in IDEA?. Let's flood their blog post with "me too"s to get them in the mood.

Comments made

Are you familiar with [url=]Michael Kors[/url]? If you are a girl who really loves to shop, then you must probably know about this brand. Females enjoy bags, shirts as well as accessories even if they don't have sufficient capability to make a purchase. As we all know, Shopping online at [url=]Michael Kors outlet[/url] is a good choice, right?
02/27/12 19:45:39

They can be worn with almost everything, but mostly people who dress in a sporty way like to wear the caps. That is why they are considered to be the best headwear for sportsmen.
03/01/12 23:19:20

This is because they have lightweight facets and wicking fabric that helps keep you dry from moisture throughout. This is why it is highly recommended to have at least one of the hats.
03/13/12 20:17:05
Breakthrough Digest presents posts from leading universities, hospitals and investigation centers. http://www.jeremylin17jerse...
03/20/12 23:11:36

The words "Made in U.S.A" should be embossed on the inside arms of the sunglasses. Depending on the style of frames, the words can be engraved or painted. Remember, original Replica Oakley Sunglasses are manufactured in USA, never in China or Taiwan. But reader beware, you're in for a scare...are you sure that those Fake Oakleys that you've just bought authentic? A good bargain price does not necessarily mean that the sunglasses are the original branded stuff.
04/01/12 00:52:33

Add comment

Sorry, but due to blog comment spam, I have to ask you to create an account before you post a comment. Please log in (using the form on the top right of the page) or click here to create an account: Create an account!