vscode-cpptools
vscode-cpptools copied to clipboard
C++ lambda expression formatting is entirely corrupted
Environment
Environment is irrelevant to this bug
Bug Summary and Steps to Reproduce
The formatter with default configuration enforces this format
delegate([this]()
{
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
next_query(); });
Every symbol appear at surprisingly unreasonable positions. Even though I believe some configuration would solve the problem, but Why should the formatter mess up our code by default?
Configuration and Logs
All by default.
Other Extensions
No response
Additional context
No response