How do keep gdb from placing my open brackets on the next line? For example every time I type
if(){
} else {
}
it automatically converts to
if()
{
}
else
{
}
I’ve tried disabling every setting under tools->options->text editor->c/c++ (visualgdb)->formatting->newlines but nothing fixes this and I’m growing tired of manually reformatting my code.
Looks like your might be using Clang-format that is configured separately. We have just published a new documentation page explaining various IntelliSense and formatting engines and their settings: https://visualgdb.com/support/intellisense/. Please feel free to look through it and let us know if it still doesn’t help.