-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Shift-Enter commits completion, but doesn't complete the current statement #18065
Comments
I'm not porting a CSharpFormatting integration test that asserts the wrong behavior, so there is no integration test coverage. Please make sure this is appropriately tested. |
Additional information here:
|
In VB, it completes the current statement but doesn't commit completion... |
In C#, the automatic line ender command handler is ordered after completion, which never passes along the automatic line ender command. |
If completion and brace completion are both active, shift-enter should commit both and complete the statement. This was not working because the completion command handler never called next handler for shift-enter and the line ender command handler was not ordered correctly. Fixes dotnet#18065
Version Used: VS2015 and VS2017
Steps to Reproduce:
(ar
Expected Behavior: Completion is committed, and the current statement is completed (semicolon added, newline added, caret moved to next line)
Actual Behavior: Completion is committed.
The text was updated successfully, but these errors were encountered: