-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Allow ThemeIcon in WebviewPanel.iconPath #90616
Comments
@bpasero I believe we should change how editors get their icons to support this. My proposal is to add a
|
Fixes #90616 Enables using theme icons in the webview.iconPath This fixes the problem in a very ugly way by inlining all the codicon css classes. We should look into a proper fix
Fixes #90616 Enables using theme icons in the webview.iconPath This fixes the problem in a very ugly way by inlining all the codicon css classes. We should look into a proper fix
Works for me. |
Any update? Looking forward to use ThemeIcons in webviews! |
What is the current workaround? |
Now @benibenj introduced support for editors to return a vscode/src/vs/workbench/common/editor/editorInput.ts Lines 167 to 173 in b487098
So I think this can move along, unless I miss something. |
What about setting a ThemeIcon? @bpasero I might be missing something. |
Yeah I muss the bigger picture of this issue, I was just to mention we made some progress in core for parts of it. |
Issue Type: Feature Request
You can only pass an Uri or an object containing Uris to WebviewPanel.iconPath, while iconPath on QuickInputButton and TreeItem also supports ThemeIcon. This would increase codicon reusability.
VS Code version: Code 1.42.0 (ae08d54, 2020-02-06T10:51:34.058Z)
OS version: Windows_NT x64 10.0.18362
The text was updated successfully, but these errors were encountered: