Skip to content

Column selection with CJK character #9989

@ziofat

Description

@ziofat
  • VSCode Version: 1.3.0
  • OS Version: Windows 10 64-bit

Steps to Reproduce:

  1. Copy and paste the following Chinese, Japanese and English sentences to VS code.
人人生而自由,在尊严和权利上一律平等。
すべての人間は、生まれながらにして自由であり、かつ、尊厳と権利と について平等である。
All human beings are born free and equal in dignity and rights.

The sentences above are official translation of UDHR.
2. Use Shift + Alt + Click to select columns.

The behavior is:
vscode

CJK characters are usually have double width than other characters. So visually the column of CJK characters and English characters are not same. When I use column selection to select CJK/English mixed codes this issue will affect the result.

The expected behavior is like what Sublime Text does:
sublime

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions