-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Feature RequestLanguage ServiceVisual StudioInherited from Visual StudioInherited from Visual Studioparser
Milestone
Description
Type: Feature Request
I recently typed code similar to this:
switch (rule) {
case EXPRESSION:
/* ... */
[[falthrough]];
default:
}
/* ... */Where's the error? It's hard to notice, but [[fallthrough]], a statement which tells the compiler not to warn on falling through the bottom of a case, is mistyped as [[falthrough]], without one of the Ls. Technically, this isn't a syntax error, but it should be a warning in VS Code since the statement won't do anything.
Extension version: 1.29.2
VS Code version: Code 1.106.3 (bf9252a2fb45be6893dd8870c0bf37e2e1766d61, 2025-11-25T22:28:18.024Z)
OS version: Linux x64 6.8.0-88-generic
Modes:
Metadata
Metadata
Assignees
Labels
Feature RequestLanguage ServiceVisual StudioInherited from Visual StudioInherited from Visual Studioparser
Type
Projects
Status
No status