Archive for June, 2009

Flex Method Hierarchy View

Tuesday, June 9th, 2009

The Method Hierarchy action (Ctrl+Shift+H shortcut or View menu, Method Hierarchy) works in IntelliJ IDEA 9 (Maia) for Flex sources (*.mxml and *.as files) in the same way as for Java.

On-demand Tooltip for Values in Debugger

Wednesday, June 3rd, 2009

In Maia you can quickly look up a value in a debugger session by hovering your mouse over it (which is very handy for text values, for example):


When you need to browse through a large tree of values, this popup can be set to appear only after you invoke it.


The trick is that it is still viewable, but only when you hover mouse over a value holding the Alt key. Hitting Alt when the popup is open hides it — but that’s what you probably have already guessed.

There is also an option in the Settings dialog:

Better Regular Expression Editing in JavaScript and ActionScript

Wednesday, June 3rd, 2009

If you ever tried to understand or edit regular expression like this in JavaScript or ActionScript:
regular expression in JavaScript editor of IntelliJ IDEA 8
Then you are sure to find IntelliJ IDEA 9 a more helpful in this way. Now you can repeatedly press Ctrl+W to see non-capturing groups:
regular expression in JavaScript editor of IntelliJ IDEA 9
Plus, code completion after \ is also a bit smarter:
completion after \ in regular expression literal in JavaScript editor of IntelliJ IDEA 9

Helping You with JavaScript Expressions in CSS

Tuesday, June 2nd, 2009

As you may already know, Internet Explorer supports a technique of inserting JavaScript snippets into css expressions. In case you need to edit such code, IntelliJ IDEA 9 will be happy to assist you with completion and highlighting!

Flip Setter Call Intention Action in Maia

Tuesday, June 2nd, 2009

Two-way synchronization between different data models is a common routine task and often developers are stuck with manual copying of data from one model to another for many reasons: model complexity, impossibility to create a simple binding, etc. For example, we have a settings model and an UI to configure it. Traditional approach suggests implementing two methods:

  • Initializing UI from settings
  • Persisting changes from UI to settings


Next, we need to implement a method (say, saveSettings), similar to initUI where UI changes are persisted to the ProxySetting object — quite boring, isn’t it?

How to do it quicker than just writing from scratch? In Maia we’ll do it twice as easy: copy the body of initUI method to saveSettings, select the just pasted code and press Alt+Enter.
Then, select Flip Setter Call intention action and enjoy.

Show Parameter Info in SQL

Monday, June 1st, 2009

In Maia the Show Parameter Info action (Ctrl+P) is available in SQL function calls and value expressions.