thanhkit
Some utils to make VSCode behave the way I want
Features
Copy
Extend the default copy behavior to copy text from the selection anchor to the cursor.
Command
thanhkit.smartCopy
Shortcut
Ctrl +c
How to use
- Move the cursor to the start of the text you want to copy
- Set the selection anchor (
editor.action.setSelectionAnchor )
- Move the cursor to the end of the text (that you want to copy)
- Copy (
Ctrl+c )
Cut
Extend the default cut behaviour to cut text from the anchor selection to the cursor.
Command
thanhkit.smartCut
Shortcut
Ctrl +x
How to use
- Move the cursor to the start of the text you want to cut
- Set the selection anchor (
editor.action.setSelectionAnchor )
- Move the cursor to the end of the text
- Cut (
Ctrl+x )
Delete lines
Extend the default delete line behaviour to delete from the anchor selection to the cursor.
Command
thanhkit.smartDeleteLines
Shortcut
Ctrl +Shift +k
How to use
- Move the cursor to the start of the text you want to delete
- Set the selection anchor (
editor.action.setSelectionAnchor )
- Move the cursor to the end of the text
- Delete (
Ctrl+Shift+k )
Requirements
None.
Extension Settings
None.
Known Issues
Calling out known issues can help limit users opening duplicate issues against your extension.
Release Notes
Users appreciate release notes as you update your extension.
0.0.1
Initial release of thanhkit
0.0.2
Add extension icon
License 
MIT
To publish
vsce package
vsce publish
| |