Skip to content

Decorators should be able to change font weight and size (bold,italic,etc) #38005

@jacobdufault

Description

@jacobdufault
  • VSCode Version: 1.18.0
  • OS Version: Win10

I'm experimenting with adding semantic highlighting in cquery using the decorator API (vscode.window.createTextEditorDecorationType and vscode.window.activeTextEditor.setDecorations) after the decoration performance improvements coming in 1.18.

It'd be extremely useful if I could use the decorators to control more aspects of font rendering, such as weight (bold, italic, etc) and size. Right now I can control underline, but I think it is very visually busy.

If a PR would be accepted for this I can investigate contributing one.

image

Metadata

Metadata

Assignees

Labels

apifeature-requestRequest for new features or functionalityverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions