I'm wondering if there is any way to sort an initializer list in VSCode (C++), like an extension (couldn't find anything so far).
This is mainly to silence the reorder warning, when initialization list order doesn't match members'.
So
class C { class C {
C() : b(3), a(5) {} C() : a(5), b(3) {}
int a; => int a;
int b; int b;
} }
Ideally I could toggle it with a keyboard shortcut to apply to the current file.