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

Extension: Support 'webview' functionality #3128

Open
bryphe opened this issue Feb 10, 2021 · 0 comments
Open

Extension: Support 'webview' functionality #3128

bryphe opened this issue Feb 10, 2021 · 0 comments
Labels
A-extension Area: Extension/plugin integration, vscode or VimL A-technical Area: Technical issues, like platform support and issues that don't affect most users directly P-backlog

Comments

@bryphe
Copy link
Member

bryphe commented Feb 10, 2021

Several extensions are using VSCode's Webview API.

For example:

  • foambubble/foam uses a webview to show a graph visualization
  • golang.go uses a webview to create a welcome page, and show custom configuration

As extensions start to lean more heavily, we'll need to look at supporting this too. This is mainly just tracking for now, but something that is on our radar and we've discussed internally a bit.

In terms of supporting this, we'd need to decide between two options:

  1. Use native webviews per-platform. Go's webview https://github.com/webview/webview has a nice model for this, but wouldn't be something we could drop-in because it doesn't support headless rendering or rendering to a buffer.
  2. Use CEF which is more heavyweight than the native, but would use a common rendering platform.

Related #1058

@bryphe bryphe added P-backlog A-extension Area: Extension/plugin integration, vscode or VimL A-technical Area: Technical issues, like platform support and issues that don't affect most users directly labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-extension Area: Extension/plugin integration, vscode or VimL A-technical Area: Technical issues, like platform support and issues that don't affect most users directly P-backlog
Projects
None yet
Development

No branches or pull requests

1 participant