When accidentally I double hit a CTRL-X, my selection of code is cut, but the clipboard is empty because the second CTRL-X has cut something like “empty selection” or what so ever. This is really painful, and to me has no sense to allow to cut or copy “nothing”, or “empty selection”.
Since it’s specific to Visual Studio, I wonder if there is a way to disable it?
When accidentally I double hit a CTRL-X, my selection of code is cut, but
Share
In Tools/Options, select Text Editor and then pick either “All Languages” or a specific language.
There’s an option there for “Apply Cut or Copy commands to blank lines when there is no selection.” Disable that and I believe it’ll help.