简体   繁体   English

如何在 flutter 网络/移动应用程序中嵌入 Visual Studio 代码

[英]How to embed visual studio Code in flutter web/mobile app

I am creating a flutter web/mobile app and I want to integrate vscode or similar so that the user could write code from the app.我正在创建一个 flutter 网络/移动应用程序,我想集成 vscode 或类似的,以便用户可以从应用程序编写代码。 Is that possible?那可能吗? If it's impossible with vscode, is there any other powerful code editor that can do that?如果用 vscode 是不可能的,有没有其他强大的代码编辑器可以做到这一点?

Have you seen browser version vs code?你看过浏览器版本和代码吗? It already runs on a browser.它已经在浏览器上运行。

Use Webview plugin or like this使用Webview 插件或像这样

new MaterialApp(
  routes: {
    "/": (_) => new WebviewScaffold(
      url: "https://vscode.dev/",
      appBar: new AppBar(
        title: new Text("Vscode webview"),
      ),
    ),
  },
);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM