vscode-change-case
vscode-change-case copied to clipboard
Error shown for changing case with collapsed selection (caret)
If you execute command like extension.changeCase.upper
with a collapsed selection, the extension will throw an exception that gets reported as an error: Running the contributed command:'extension.changeCase.upper' failed
.
Repro steps:
- Open Visual Studio Code with
change-case
extension enabled. - Create new file (
ctrl/cmd+n
). - Press
f1
to open up commands toolbox. - Type
Change case upper
. - Press enter to apply command.
Expected: No visible change happens, editor remains in tact.
Actual: Error is reported.
Might be caused by same bug as #12 though I'm not sure about repro steps in this ticket.