Priority
Normal
Type
Feature 
State
Fixed 
Assignee
Peter Gromov 
Subsystem
Code Formatting and Code Style 
Affected versions
Fixed in
Fixed in build
Next build 
Build
9164
Fixed in build
10031
  • Submitted by   Michael Neale
    12 months ago (03 Feb 2009 01:18)
  • Updated by   root
    3 weeks ago (17 Jan 2010 20:11)
  • Jira: IDEA-47647
    (history, comments)

IDEA-47647

Advanced code folding that can make anon inner classes look like lambdas

0
For a while I have struggled on how to describe this feature request, but thankfully someone else has gone and done a PoC in eclipse: http://code.google.com/p/lambda4jdt/

(certainly not a feature to be on by default, but an interesting code folding feature - useful for when your code has lots of callbacks/poor mans closures - which is common in swing and GWT and many other toolkits).

Issue was resolved
Comments (4)
 
History (1)
 
Links
 
Peter Gromov
  Peter Gromov
03 Feb 2009 13:53
(12 months ago)
#permalink
Michael Neale
  Michael Neale
04 Feb 2009 03:50
(12 months ago)
#permalink
wow - amazing. I love the "lambda" - nice touch ! OK I believe I have to sacrifice something in thanks for this upcoming feature.
Peter Gromov
  Peter Gromov
04 Feb 2009 12:01
(12 months ago)
#permalink
I loved it too, but, as you can see, now lambda is replaced with class name, which proved to make my life more efficient. When there was only lambda, I noticed that every time I see it I move my mouse over it to see if it's Runnable, Function, Computable, Processor or whatever. Now I don't. So there's no lamda in current IDEA 9 builds.
Michael Neale
  Michael Neale
05 Feb 2009 02:54
(12 months ago)
#permalink
oh that is a shame re lambda... perhaps a secret option to put it back in ;) but in any case, nice work.