Skip to content

Fullwidth characters are not highlighted as ambiguous (confusable) characters #138746

@mandel59

Description

@mandel59

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.63.0
  • OS Version: macOS Monterey 12.0.1
  • Locale: en and ja

Steps to Reproduce:

  1. Input the following code:
`
!"#$%&'()*+,-./
0123456789:;<=>?
@ABCDEFGHIJKLMNO
PQRSTUVWXYZ[\]^_
`abcdefghijklmno
pqrstuvwxyz{|}~
`
  1. Change language mode to JavaScript.

Expected result:

  • All fullwidth characters are highlighted.
  • A tooltip shows its counterpart character.

Actual result:

  • Some characters are not highlighted.

スクリーンショット 2021-12-09 20 32 10

  • Some tooltips show characters not so similar.
    • The character U+ff3b "[" could be confused with the character U+0028 "(", which is more common in source code.

    • The character U+ff3d "]" could be confused with the character U+0029 ")", which is more common in source code.

スクリーンショット 2021-12-09 20 33 42

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugunicode-highlightverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions