I
Ion Freeman
Hi!
Frankly, most of the code I write is for publication somewhere, so
I try to keep everything within eighty columns and use vertical space
efficiently. I'm new to Eclipse, and I'd like to set up this behavior:
When a number of braced blocks end together at the end of a method
body or class, I'd like to compress them all. So
class outer{
class inner{
method body(){
for(){
if(){
finally{
// would have the final line
} } } } } }
-- visually every block of code is closed, but it's strictly in the
opposite order, so that all the closures happen on one line.
I'm having some trouble getting Eclipse to do this -- it doesn't seem
to be built in and I don't know where to start scripting it. I imagine
this is a pretty popular thing to do, so I was hoping there was a
snappable way I could get it done.
Can someone help me?
Ion
Frankly, most of the code I write is for publication somewhere, so
I try to keep everything within eighty columns and use vertical space
efficiently. I'm new to Eclipse, and I'd like to set up this behavior:
When a number of braced blocks end together at the end of a method
body or class, I'd like to compress them all. So
class outer{
class inner{
method body(){
for(){
if(){
finally{
// would have the final line
} } } } } }
-- visually every block of code is closed, but it's strictly in the
opposite order, so that all the closures happen on one line.
I'm having some trouble getting Eclipse to do this -- it doesn't seem
to be built in and I don't know where to start scripting it. I imagine
this is a pretty popular thing to do, so I was hoping there was a
snappable way I could get it done.
Can someone help me?
Ion