Thursday, April 16, 2009

IntelliJ IDEA: Scope-based highlighting in editor

One of the lesser known features is the ability to highlight certain scopes differently in IDEA's editors.

The feature can be accessed via Settings->IDE Settings->Editor->Colors & Fonts->Scope Based. Below the list of already (pre-)defined scopes, you can easily create new custom scopes via 'Edit Scopes...'-button.

Each scope can be assigned a distinct color/font attribute scheme - just like for different language elements.

I'm using this feature to quickly differentiate between "real" testing code and JUnit-classes (pattern: lib:org.junit..*):

More interesting setups than this (very) simplified example are possible, e.g. adding another scope for EasyMock, Spring's Assert, ..

Tuesday, April 07, 2009

IDEA 9: Struts 2 Plugin goes Apache Tiles

Struts 2 Plugin in the upcoming version of IntelliJ IDEA 9 ("Maia") will integrate seamlessly with Apache Tiles:

As can be expected in IDEA, configuration is automatically derived from your webapp - no need to setup anything in your IDE manually. Just don't forget to enable Struts Assistant plugin for Tiles support.

Stay tuned for more news soon...

Monday, April 06, 2009

Back to life..

After some years <cough> of no posts, I'm back and ready to post some stuff again (hopefully more regularly). Read the latest about development of Struts 2 plugin for IDEA - new features are around the block for IDEA 9 ("Maia").