Skip to content

Feature Request: Add a wordBreak editorOption to render CJK text without line-break when set wordWrap 'on' #154263

@Albert-cord

Description

@Albert-cord

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

  • VS Code Version: 1.68.1
  • OS Version: Windows_NT x64 10.0.19044

Steps to Reproduce:

  1. Settings
    "editor.wordWrap": "on",
  2. Open new file.
  3. Type normal text 测试文章1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 or paste them on editor directly.

Actual Behavior

line breaks be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same.
image

Expected Behavior

line breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.
image
not to break word, wanna wrap line just when the words overflow the viewport.

Metadata

Metadata

Assignees

Labels

editor-wrappingEditor line wrapping issuesfeature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions