salesforcedx-vscode icon indicating copy to clipboard operation
salesforcedx-vscode copied to clipboard

Provide option to rename component from the command palette

Open randi274 opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Similar to the "Create Lightning Web Component Test" command, we'd like to have a Rename Component option appear in the command palette.

Describe the solution you'd like 'Rename Component' should be available in the command palette. When selected, it should give a list of all component names. When a given component is selected, it should present the option to rename the bundle. All of the existing logic around renaming bundles still applies (no duplicate names, provide a message that the bundle still needs to be redeployed).

Describe alternatives you've considered Components can be renamed manually by right clicking a bundle or file within, but this would be a nice option to offer for our users who prefer to work with the keyboard.

randi274 avatar May 18 '22 18:05 randi274