I type 'i' 'f' <space> and get this:
if() {
}
what I expect is this:
if () {
}
Note the space between the if and the parentheses.
After I press the space, at the bottom it says "Dynamic Surround has been performed. Search the help for Dynamic Surround for more information." Searching through that doesn't make things obvious to me.
In Tools->Options->Languages->Application Languages->C/C++->Formatting when I Edit... My Default, under Spacing->Statements->if things look correct. Before opening parenthesis is ON.
Under Aliases for "if":
if (%\c) {
%\m sur_text -indent%
}
"Auto-Surround" is enabled for all choices.
I don't understand. What am I missing here?