theia-apps icon indicating copy to clipboard operation
theia-apps copied to clipboard

[Feature Request] - Implement Dart/Flutter

Open rodydavis opened this issue 5 years ago • 8 comments

Docs: https://flutter.dev/

rodydavis avatar Feb 11 '20 23:02 rodydavis

Docs: https://flutter.dev/

We should be able to use the VS Code Dart and Flutter extensions directly in the theia-dart image. One needs to update the image to do so, given that the following extensions are published on their GitHub Releases page as .vsix files.

vince-fugnitto avatar Feb 11 '20 23:02 vince-fugnitto

I got that part working. But I was more curious about the backing custom docker image like the other ones in the repo. There are already some remade docker images for flutter.

Specifically I would like to be able to run and debug the applications like I can in VSCode but it needs flutter installed.

You can actually get the flutter tools from npm I believe: https://www.npmjs.com/package/flutter-cli

What do I need to do to get the flutter web output in the preview window? https://github.com/eclipse-theia/theia/tree/master/packages/editor-preview

I already have this running locally.

I don't mind building the extension for Flutter not need to be pointed in the right direction.

rodydavis avatar Feb 11 '20 23:02 rodydavis

Also dart is included in flutter, but they are slightly different versions.

rodydavis avatar Feb 11 '20 23:02 rodydavis

I got that part working. But I was more curious about the backing custom docker image like the other ones in the repo. There are already some remade docker images for flutter.

You are more than welcome to update the docker image if you'd like :) I think at the moment it is pretty bare bones as compared to other extensions and if you can make it better we'd greatly appreciate it!

What do I need to do to get the flutter web output in the preview window? https://github.com/eclipse-theia/theia/tree/master/packages/editor-preview

Do you mind providing additional details regarding your use case?

vince-fugnitto avatar Feb 11 '20 23:02 vince-fugnitto

And exploratory at the moment. But I have been working on building a batteries included IDE for flutter. Including the ability to have project template creation.

https://twitter.com/rodydavis/status/1226686984346689536?s=20

And im updating the image now :)

rodydavis avatar Feb 11 '20 23:02 rodydavis

And im updating the image now :)

I'm certainly looking forward to seeing what you come up with 😄

vince-fugnitto avatar Feb 11 '20 23:02 vince-fugnitto

Here is my PR so far: https://github.com/theia-ide/theia-apps/pull/303

rodydavis avatar Feb 12 '20 00:02 rodydavis

This contribution has been automatically marked as stale due to inactivity, and it will be closed if no further activity occurs. Thank you for contributing to Theia!

stale[bot] avatar Apr 12 '20 00:04 stale[bot]