Skip to content

font token customization: make it work with generic high level scope #284683

@aiday-mar

Description

@aiday-mar
  • Open VS Code file debugProcess.ts
  • Set the cursor on the name DebugProcessContribution
  • Set the settings
"editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": "entity.name.type.class",
                "settings": {
                    "fontSize": "50px",
                    "lineHeight": 60
                }
            }
        ]
    },
  • Notice DebugProcessContribution is correctly sized
  • Change the setting to
"editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": "meta.class",
                "settings": {
                    "fontSize": "50px",
                    "lineHeight": 60
                }
            }
        ]
    },
  • Notice that the sizing disappears even if support.class is a high level scope name of the DebugProcessContribution 🐛

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions