Have still troubles with the code formatter – behaves different than in VS..
Using TAB:4, Indent:2.
Insert these lines:
void main()
{[CURSOR_POS]
foo1();
}
Press the Enter key on [CURSOR_POS].
Indenting is 4 instead of 2..
Also when I copy/paste the line foo1() inside the main() function, the indenting is not 2.
Sorry, VisualGDB does inherit many of Visual Studio’s formatting settings, however due to the internal VS architecture, the indentation must be set independently.
Please try using the Tools->Options->Text Editor->C/C++ (VisualGDB) to configure VisualGDB-specific indentation.