Open aandrejevas opened 1 year ago
@aandrejevas
The vcFormat setting "C_Cpp.vcFormat.space.aroundBinaryOperator"
which has a default value of insert
is incorrectly formatting comparator.operator()<int, int>(5, 5);
. This is similar to the issue at https://github.com/microsoft/vscode-cpptools/issues/11112#issuecomment-1608267127.
The vcFormat code base is shared with Visual Studio. I've created an internal bug (1846065) against Visual Studio for this issue.
Environment
Bug Summary and Steps to Reproduce
Settings:
Code before formatting (expected behavior):
Code after formatting:
Configuration and Logs
Other Extensions
No response
Additional context
No response