Posts Tagged ‘Folding’

Groovy stacktrace folding

Wednesday, March 17th, 2010

When you look at a typical Groovy stack trace, you usually see something like this:

This is not terribly helpful, since there are only three lines from the actual source code. Everything else refers to Groovy’s internals. From now on, though, reading Groovy stack traces will be much easier:

Something More About Generics Folding

Wednesday, April 8th, 2009

Looking back at constructor type parameters folding, you may wonder why don’t we fold another verbose construct with generics — method type parameters like this:

fillMap(Collections.<String, List<Integer>>emptyMap());

In Maia, we will:

Code Foldings for I18n Support

Thursday, March 26th, 2009

As you may know, IntelliJ IDEA 8 includes the complete i18nization support. In IntelliJ IDEA 9 (Maia) it will be improved with special i18n foldings that would allow to hide method calls, retrieving properties from resource bundles and replace them with actual property values.


If properties contain any parameters, they will be automatically evaluated before displaying.

Repetitive Type Parameters Folding

Monday, March 16th, 2009

Aren’t you tired of verbose constructs like this, are you?

For years IntelliJ IDEA has been saving your time spent on writing code like this (Smart Type Completion after new keyword). Now it does so with your brain cycles while you’re reading it:

This new folding will be available in the first Maia EAP.

Closure folding in IntelliJ IDEA 9 (Maia)

Tuesday, March 10th, 2009

IntelliJ IDEA 9 will bring you a clearer code reading experience with the support of folding for probably the most verbose Java constructions — anonymous classes. In IntelliJ IDEA 9 you will have an option to quickly collapse them to compact, easy to read form and back with a single keystroke.

 

Before:

Ordinary anonymous class syntax display

 

After:

Closures folding enabled

 

EAP users will be, as always, the first to try it out when we release the very first Maia builds, so make sure you’re on the list and watch for the news!