-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Automatically add paranthesis #60
Comments
That's not possible with current approach. Roslyn CompletionProvider API, which I'm using, allows to add new items, but I cannot change behavior of existing items. Maybe that's possible using some other ways. Some kind of item commited event on VS side, where I could find symbol, and customize text. Not sure |
Too bad. Can you point me to some good resourses that might help me make this or add it to your extension? |
Does the API provide a callback to detect when an autocomplete suggestion has been accepted? I've installed this "TabAutoComplete" extension which adds brackets when pressing tab when the cursor is placed after a symbol word: Automatically inserting these brackets should be one of the most basic functions of an IDE. How Visual Studio of all things does not have this implemented as default behavior is beyond me.
So I have basically ZERO confidence that this will be addressed by MS anytime soon, if ever... Edit: |
Would it be possible to have the extension automatically add parenthesis when appropriate?
The feature should place the cursor between the parathesis when there are arguments in the selected method/ctor, or one of its overloads.
It should place the cursor after after the closing parenthesis if there are no arguments.
The text was updated successfully, but these errors were encountered: