Skip to content

Line breaks incorrectly when variable font size #288873

@aiday-mar

Description

@aiday-mar
  • Set the settings to:
{
    "editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": "entity.name.type.class",
                "settings": {
                    "fontSize": 3,
                    "lineHeight": 2
                }
            }
        ]
    },
    "editor.wordWrap": "wordWrapColumn",
}

The word wrap column is 80 by default.

  • Go to the file debugProgress.ts
  • Notice that the line with the variable font text DebugProgressContribution overflows past the 80th column 🐛
Image

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugfont-token-customization

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions