We came across this topic, and it seemed to me that we could improve here Shift + Enter (SmartBreakLine).
So, in those cases where the { } block was opened, and if the shift was intentionally or unintentionally held, we now do this:
{ | }
instead
{ } |
Thus, people who are accustomed to using shift + enter to end the line (in C # it adds a semicolon to the end of the line, if necessary, formats the line, adds a new line after the current line), you do not need to lose these functions by reassigning shortcut on BreakLine.
See: https://github.com/dotnet/roslyn/pull/5790
this should do it in the next update of Vs2015, and we hope you enjoy it.
source share