This is a small extension tool that aims to make several creations quicker in a Salesforce SFDX or SFDY project.
Features
Current features are:
Label inserter: Right click on the CustomLabels.labels-meta.xml file in the labels folder and click Add Label to easily add a new label in the file in the correct alphabetical order. You can also quickly add a new label at a specific line by right-clicking inside the editor of an .xml file
Hardcoded label replacement: Right click on an LWC js or html file and choose the Replace hardcoded values option. All the checked hardcoded label values found in the js and html will be converted to user defined custom labels, appended in a labels.js file then imported into the main js component, and finally a new window with the metadata of the new labels will be shown
Extension Settings
None yet :)
Release Notes
0.0.4
Enhanced hardcoded label replacement utility with duplicate label analysis