SlickEdit Community
Archived Beta Discussions => SlickEdit 202x Beta Discussions => SlickEdit 2023 v28 Beta Discussion => Topic started by: astromme on October 03, 2023, 06:56:25 PM
-
When I want to enter a lambda, I type this all out by hand:
std::for_each(container.begin(), container.end(), [](){});
Then, I press enter between the braces and get this (the carat is where the cursor is):
std::for_each(container.begin(), container.end(), [](){
^
});
What I want is this:
std::for_each(container.begin(), container.end(), [](){
^
});
Is there any way to autoformat the closing brace on the same column as the std::for_each?
-
I've reproduced this problem and I am looking into it.
-
I have a fix, but it was too late for the upcoming beta 4.
-
Attached is a hot fix for this problem for beta4.