Closed
Description
Repo
- Create a keybinding for extract constant:
{
"key": "shift+ctrl+e",
"command": "editor.action.refactor",
"args": {
"kind": "refactor.extract.constant",
"preferred": true
}
}
-
Open a js file:
const a = 1 + 2;
-
Select
1 + 2
and click on lightbulb
Feature Request
Show the keybinding (shift+ctrl+e
) for the extract to constant refactoring the lightbulb menu