4coder»Forums
Thomas Dendale
2 posts
Blub
Lambda indention as function argument
Hi Allen

I think the lambda-indention looks a bit weird when the lambda is a function argument.
(Using v4.0.17)

Indenting this small example in 4coder:
1
2
3
4
a.b([](){
        if(1)
        c();
        });


... would look better like this, right?
1
2
3
4
a.b([]() {
   if (1)
     c();
})


I have quite a bit of these in the code I have to work with.
Allen Webster
473 posts / 4 projects
Heyo
Lambda indention as function argument
Yeah the system is not set up to handle those well yet. When I revist the indenting stuff I'll make sure to improve that situation too.