Bug #16946 2010-03-11 18:42
secks
brace completion when you use auto-completion for functions
first off im using linux and the latest nightly build from jens (svn 6181)..
if you turn off brace completion in settings and then create a new c++ console with the following code:
Code:
int zz_test(int i, int l) {
return i + l;
}
int main() {
//START TYPING "zz_test" SO THAT THE HELP APPEARS
return 0;
}
once the function list pops up, select zz_test and select it, the brace completion will be inserted ..
i believe it has something to do with the pool in which the help has to grab the list from because if you change the function name to "if_test" the behaviour is as expected with no additional braces ..
- Category
- Application::WrongBehaviour
- Group
- Status
- Open
- Close date
- Assigned to
History
1) I can reproduce this behaviour using both "zz_test" and "if_test".
2) What is the expected behaviour?
Sorry I probably should have mentioned that :) The parenthesis automatically get added when you select the function from the auto-complete list. The shouldn't when brace-completion is off.