You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When filling the first case, I receive a suggestion from the autocompletion with a selection ranging from a to d. Which makes sense, since it's the first case and there's nothing before it. However, if I choose a in my first case and then move onto other cases, the autocompletion dropdown still suggests a.
The problem is that it makes me lose track of what cases need to be covered, especially since the IDE doesn't raise any warning in case (no pun intended) I added a case I already had covered. This can be especially bothersome in a sufficiently big template literal type.
About my IDE
Version: 1.64.2
Date: February 9th, 2022
TS version: 4.5.5
OS: Windows NT_x64, v10.0.19043
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Search terms: switch, switch case, autocomplete, autocomplete switch case
Considering this example:
When filling the first case, I receive a suggestion from the autocompletion with a selection ranging from
a
tod
. Which makes sense, since it's the first case and there's nothing before it. However, if I choosea
in my first case and then move onto other cases, the autocompletion dropdown still suggestsa
.The problem is that it makes me lose track of what cases need to be covered, especially since the IDE doesn't raise any warning in case (no pun intended) I added a case I already had covered. This can be especially bothersome in a sufficiently big template literal type.
About my IDE
Version: 1.64.2
Date: February 9th, 2022
TS version: 4.5.5
OS: Windows NT_x64, v10.0.19043
The text was updated successfully, but these errors were encountered: