-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Create an API for embedding a native window inside a panel #100616
Comments
Duplicate of #83911 |
I disagree that this is per-se a duplicate. #83911 is only a "custom webview" which would work for embedding say another electron app's content. This instead would allow native windows for the OS. Though given the design I described in the contrived screenshot above, it would likely depend upon that feature request being implemented to host it for the buttons. I doubt a "custom webview" would allow you to embed the android emulator for example as described above. |
@GinoMan I see what you're saying (arbitrary native applications, not arbitrary UI). Embedding native applications inside VS Code isn't something we plan on doing. While I understand why it would be useful, it is out of scope for VS Code. |
This may be a requirement for implementing an equivalent to "Blend for Visual Studio". Edit: embedding a native window via its HWND into an eletron app may suffice for extension authors, but do non-Windows platforms have an equivalent? See electron/electron#10547 (comment) |
I agree that this feature will bring a lot of new possibilities to VS Code extensions and allows it to integrate even further with already existing external apps implemented using other technologies. |
The use case:
I'm working on learning Flutter development and I have the emulator up while I work on my code. I'm however noticing that the emulator can be set to always be on top, but that covers part of the window. It wouldn't be so bad though if I could embed the emulator as a pane in VSCode off to the side.
I'm thinking of something that would look like this:
Options:
One way of doing this would be to create an API for embedding an arbitrary native UI Into a pane. This would allow the embedding of many applications in the same window for such a use case.
Another way would be to set up a transparency area under which the native UI would run and pass input through to it.
Thoughts?
The text was updated successfully, but these errors were encountered: