Skip to content

Should fontfeatureSettings be exposed to webviews #243202

Closed
@a-stewart

Description

@a-stewart

Sometimes in Webviews you want to reproduce the style of editor text.

There is --vscode-editor-font-family, --vscode-editor-font-weight and --vscode-editor-font-size available. As well as foregound and background.

One thing that doesn't exist though is a simple way to honour the users ligature preferences.

It looks like you might be able to use --vscode-editorCodeLens-fontFeatureSettings

Should we expose something like --vscode-editor-fontFeatureSettings to webviews, or is it correct that webviews should use the code lens property instead?

Edit: looks like --vscode-editorCodeLens-fontFeatureSettings is not available in Webviews either.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedverifiedVerification succeededwebviewWebview issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions