quick delete function that support javascript and typescript
- Click on the Extensions icon (usually on the left-hand side of your editor).
- Search for "Delete Function".
- Find the extension in the list and click the install button.
- Through the Command Palette.
- Through the shortcut
- default shortcut
- mac "cmd + r + f"
- win "ctrl + r + f"
With Vim
// settings.json
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [
"<space>",
"d",
"f"
],
"commands": [
"delete-function.deleteFunction"
]
}
]
you can config follow above
replace 'before' to you want