I have a js file which contains around 200 enums with names like –
abc
def
ghi
...
I want all these enums to be in uppercase rather than writing it again as it can cause typos.
Tried text.toUpperCase() but it will still give me only one output on vs code
>Solution :
- Select all your enum keys that you wish to uppercase using ctrl+d
- Then press ctrl+shift+p and type uppercase
- Press Enter
