vscode-cpptools
vscode-cpptools copied to clipboard
C++ complete function calls
Feature Request
Hello, I would like to request a feature similar to "javascript/typescript.suggest.completeFunctionCalls", where upon calling a method, the parenthesis are inserted automatically and the caret is placed in the appropriate position (no arguments = caret is placed at the end of the function call, arguments = caret is placed inside the parenthesis)
+1
It would be really nice if picking a function call from suggestion list would automatically append parentheses.
This feature request is being closed due to insufficient upvotes. Please leave a 👍-upvote or 👎-downvote reaction on the issue to help us prioritize it. When enough upvotes are received, this issue will be eligible for our backlog.
@Tem3dy @Rawalanche We already have a setting C_Cpp.autocompleteAddParenthesis.
Is there something insufficient with the existing setting?
This issue has been closed because it needs more information and has not had recent activity.
@Tem3dy @Rawalanche We already have a setting C_Cpp.autocompleteAddParenthesis.
Is there something insufficient with the existing setting?
I guess the main insufficiency here is discoverability. Right now, this obscure setting (which there are at least hundreds of in VSCode) is off by default, and the reference Auto Closing Brackets setting is set to languageDefined by default. I think it'd make more sense here to default it to enabled for more modern IDE experience. I think it's on the same level of essential usability as auto conversion of period to pointer arrow when accessing pointers.
I've turned it on and it seems to work well, yet people are still making feature requests for it, implying that the problem is not that the feature doesn't exist, but that it is hard to find even for people who are actively looking for it.