-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Closed
Labels
editor-code-actionsEditor inplace actions (Ctrl + .)Editor inplace actions (Ctrl + .)feature-requestRequest for new features or functionalityRequest for new features or functionalityverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Milestone
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
Metadata
Metadata
Assignees
Labels
editor-code-actionsEditor inplace actions (Ctrl + .)Editor inplace actions (Ctrl + .)feature-requestRequest for new features or functionalityRequest for new features or functionalityverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded