Weird behaviour when using expandLineSelection and clipboardCutAction
Open
- Dominant language
- JavaScript
- Stars
- 177
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
I wanted to create a macro for cutting the line containg the cursor or all lines that are atleast partially contained in the current selection.
To do this, I created this macro:
`
"cutLines": [
"expandLineSelection",
"editor.action.clipboardCutAction"
]
`
When executing the macro, the current line(s) get removed as expected.
However if there was a selection before running the macro, the clipboard will only contain the selected parts instead of containing the expanded selection.
The same behaviour occurs when using `clipboardCopyAction` instead of the cut action.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.