Unable to syntax highlight rules in Webview #1713
-
VSCode passes to Webview theme's variables (--vscode-). It allows to implement the same theme in webview as in VSCode. https://github.com/microsoft/vscode/blob/9e23739d0b9f3381d99be9bde649709d4329daa5/src/vs/workbench/contrib/webview/browser/themeing.ts#L52 However, vscode doesn't pass rules for syntax highlight to implement syntax theme in Monaco. Is it possible retrieve these rules directly from the code (extension side or webview side)? |
Beta Was this translation helpful? Give feedback.
Answered by
isidorn
Oct 21, 2024
Replies: 1 comment 2 replies
-
I think this is currently not supported by the extension API. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
burkeholland
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think this is currently not supported by the extension API.