Adds missing shortcut for deleting the line which behaves just like in the VS Code. So you can paste it afterwards.
A small addon that adds the funcionality of deleting the current line in the text editor. And it is also cuting the content into the clipboard. This means you can then paste the deleted line wherever you want.
You do not need to select anything. Just press CTRL + SHIFT + BACKSPACE
while in the text editor on some line. The shortcut can be changed in the preferences.
The shortcut is then editable in the Blenders settings: "Edit > Preferences > Keymap > Text > Text global > Delete line". The way it works is mostly using Blenders built in functions:
Adding newline character to the current line.
Selecting the whole line.
Cutting the selected content.
Deleting the remaining newline character.
Video: Video showcase on youtube.
Added clipboard permission to the manifest.toml
.
This extension requests the following permission:
Add-on can read and write to the system clipboard.