Like the title says, when nothing is selected, copying shouldn't copy a blank character.
@alexandrudima @ivancuric
As of now, cmd+c without any selection, copies the entire line. Sublime also does the same.
Are we suggesting to change this behavior as part of this issue? I really like the current functionality.
Or are we suggesting one more option/flag which user can enable to have the new functionality?
@ramamurthynagaraj Yes, it would be behind an option
Can we have the option for this behavior or disable it? I don't like the auto copy of a blank line and would like to disable that feature. I agree it can be annoying especially in the type of coding I do (debugging).
Was a setting added for this?
@soljohnston777 it is editor.emptySelectionClipboard
"editor.emptySelectionClipboard": false disables the line copying entirely. Is there a way to have line copying enabled, while simultaneously ignoring the empty lines?
This doesn't disable the copying within my VS Code at all and I can still copy whitespace - anyone else had any luck? * fingers crossed *
Most helpful comment
@soljohnston777 it is
editor.emptySelectionClipboard