Skip to content

Show keybindings in refactor menu #84101

Closed
@mjbvz

Description

@mjbvz

Repo

  1. Create a keybinding for extract constant:
	{
		"key": "shift+ctrl+e",
		"command": "editor.action.refactor",
		"args": {
			"kind": "refactor.extract.constant",
			"preferred": true
		}
	}
  1. Open a js file:

    const a = 1 + 2;
  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 + .)feature-requestRequest for new features or functionalityverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions