Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to syntax highlight rules in Webview #242333

Closed
bk201- opened this issue Feb 28, 2025 · 1 comment
Closed

Unable to syntax highlight rules in Webview #242333

bk201- opened this issue Feb 28, 2025 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@bk201-
Copy link

bk201- commented Feb 28, 2025

Hi, I'm a developer of Azure CosmosDB extension.

VSCode passes to Webview theme's variables (--vscode-). It allows to implement the same theme in webview as in VSCode.

public getWebviewThemeData(): WebviewThemeData {

However, vscode doesn't pass rules for syntax highlight to implement syntax theme in Monaco.

This would be useful if vscode will inject to webview all theme properties including syntax rules and colors to implement the same theme in webview Monaco instance

@mjbvz
Copy link
Collaborator

mjbvz commented Feb 28, 2025

Duplicate of #32813

@mjbvz mjbvz marked this as a duplicate of #32813 Feb 28, 2025
@mjbvz mjbvz closed this as completed Feb 28, 2025
@mjbvz mjbvz added the *duplicate Issue identified as a duplicate of another issue(s) label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants