Archive for July, 2009
Thursday, July 30th, 2009
I’d like to tell you a bit about a bunch of cool IntelliJ IDEA shortcuts you have probably never heard of.
Ctrl+W/Ctrl+Shift+W When it comes to precisely selecting a value, expression, statement or any other block of code, these shortcuts are a real killer. Just try it to see how quicker it works than traditional Ctrl+Shift+NavKeys combo.
Ctrl+Shift+F12 This hides everything but the editor and so leaves you tête à tête with the code.
Ctrl+Tab, Delete Pressing Delete when Switcher is open (Ctrl+Tab) allows you to close arbitrary editor tabs and hide tool windows (available in Maia builds 10612 and later).
Ctrl+Alt+Shift+Up/Down If you are using Version Control integration, you gonna love this because so you can quickly navigate between changes in a file.
Alt+Home Summons Navigation Bar to an active window, so you can now hide it from under main menu and quickly use whenever needed. By the way, all the cool shortcuts (Alt+Insert, for example) work nice inside of Navigation Bar, which lets you create new files, classes, and everything really really quickly.
Hope this all makes development even more a pleasure!
Tags: Shortcuts
Posted in FYI, Tips & Tricks | 8 Comments »
Wednesday, July 29th, 2009
The next Maia EAP brings you basic Griffon support, similar to Grails integration. You’ll be able to add Griffon library to Groovy facet:

IntelliJ IDEA will then create a Griffon application or plugin directory structure and take all the steps necessary to keep it up-to-date, as you install plugins and add libraries. As with Grails, a dedicated Griffon project view will appear together with a run/debug configuration:

Also, Run Griffon target with target autocompletion action can be found under Tools menu.
Tags: griffon, groovy, maia
Posted in In Development | 4 Comments »
Wednesday, July 29th, 2009
As you all know, JDK 7 includes new java syntax for Annotations on Types (JSR-308)
To enable JSR-308 support in Maia, set the Java language level level to 7:

Then you can declare and use your weird type annotations almost everywhere:

To enable type annotations compilation in IntelliJ IDEA, download the latest Open JDK build, patch it as described in Type Annotations Prototype Implementation FAQ, and attach it to an IntelliJ IDEA project via Project SDK on Project tab in the Project Structure dialog (Ctrl+Alt+Shift+S).
Tags: JSR-308, maia
Posted in FYI, In Development | 1 Comment »
Tuesday, July 28th, 2009
In Maia, it’s finally possible to open a file in associated application (for example, .doc or .pdf) by double-clicking it in Project View or by pressing F4. This works for file types, registered under Files opened in associated applications.

The dialog displayed after you double-click a file of an unknown type also gives you options to associate its type with an application:

Also, Project View and Open File dialogs now display file type icons as they are registered in your OS, instead of generic unknown file icon.
Tags: maia, user interface
Posted in In Development | 6 Comments »
Friday, July 17th, 2009
IntelliJ IDEA 9 brings you powerful support for JSF 2.0 composite components development:
- Code completion
- Refactorings
- Usage search and more.
It also introduces a Quick Fix Driven Development approach which gives you a great opportunity to quickly familiarize with the new JSF 2.0 features. See this demo for details.
For more JSF 2.0 examples you can visit Jim Driscoll’s blog.
Tags: JSF 2.0, maia
Posted in Demos, In Development | 2 Comments »
Thursday, July 16th, 2009
Want to write an application in pure ActionScript without MXML and Flex components? Maia can help you with that!
All you need is a Flex module or Flex facet with configured Flex or AIR SDK. Flex module is recommended because New Flex Module Wizard allows you to create pure ActionScript sample application in just few clicks.

(more…)
Tags: actionscript, Flex, maia
Posted in FYI, In Development | 1 Comment »
Friday, July 10th, 2009
IntelliJ IDEA 9 (Maia) lets you assign custom colors to arbitrary sets of files (Scopes) in Editor tabs or Navigation lists (Go to class/file, etc):

This helps you even more quickly than before understand which class you are looking at: JDK, a library, or your own app. The feature is available in Maia builds that you can get from EAP under Settings/File Colors.
Tags: code navigation, eap, maia
Posted in FYI, In Development | 2 Comments »
Friday, July 10th, 2009
Google Web Toolkit 1.6 replaces EventListener class with EventHandler, so the existing code base needs an upgrade. In most cases IntelliJ IDEA can do this automatically — all you need to do is to press Alt+Enter on a highlighted listener and select Replace quick-fix.

IntelliJ IDEA will then upgrade your code:

This feature is available in Maia builds that you can download from EAP.
Tags: code inspections, GWT, maia
Posted in FYI, How-To's, In Development | No Comments »
Thursday, July 9th, 2009
It’s been almost a month since JavaOne, and we’re finally catching up with our raffle winner announcements. This year we departed from our traditional license raffle and instead suggested that attendees fill out a card with positive or negative feedback about IntelliJ IDEA (or both).
Thanks to everyone who took part in this small survey! While we get a lot of inspiration from your positive feedback, the negative kind shows us where there’s most work still to be done.
And here are the winners, each of whom gets a free personal IntelliJ IDEA License:
- Hiroshi Koizumi
- John Gonzalez
- Sebastian Hennebrueder
- Bob Sturm
- Karthik Bala
Your licenses should be waiting for you in your e-mail inbox!
Posted in FYI | No Comments »
Wednesday, July 8th, 2009
Maia brings a new powerful action Ctrl+Tab that allows you to switch between open files in editor and tool windows. It works similar to Alt+Tab on Windows or ⌘+Tab on Mac.

There are two columns: tool windows and open files (tabs). Navigation is available through the use of navigation keys and Tab (forward) or Shift+Tab (backward) keys.
Is there anything else you think would be handy to have in Switcher Panel?
Tags: maia, tab switcher, tool window, user interface
Posted in FYI, In Development, Tips & Tricks | 30 Comments »