-
Notifications
You must be signed in to change notification settings - Fork 40.4k
Casing transforms in snippets only support Latin characters #286165
Copy link
Copy link
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderssnippetsverifiedVerification succeededVerification succeeded
Milestone
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderssnippetsverifiedVerification succeededVerification succeeded
Type
Fields
Give feedbackNo fields configured for issues without a type.
Testing #233798
Use the following snippet:
Give it input
oneTwoyou will getoneTwo -> ONETWO onetwo oneTwo OneTwo one-two one_twowhich is correct.Give it input
одинДваyou will getодинДва -> ОДИНДВА одиндва одинДва одинДва одинДва одиндваwhich is incorrect as non-Latin letters are not handled correctly (in this case Russian alphabet, but code only cares about a-z).We should probably use Unicode definition of words if possible to perform the case transforms.