zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
35.33k stars 1.79k forks source link

Flutter/Dart support #5343

Closed futurepaul closed 3 months ago

futurepaul commented 1 year ago

Is your feature request related to a problem? Please describe.

No syntax highlighting or language server for Flutter.

Describe the solution you'd like

Syntax highlighting, dart format, go to definition, hover, autocomplete, problems, and suggested fixes (for imports especially!) would be enough for me to do Flutter work from Zed.

LSP info here: https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/tool/lsp_spec/README.md

Stretch goals would be some sort of "snippets" feature (flutter has a lot of boilerplate for class definitions) and a "run" button to give those IDE vibes.

Personally I'm doing Rust + Flutter projects right now, so I don't know if there's anything extra hard about showing problems from two different LSPs at once.

s1dc0des commented 1 year ago

yes please

widersky commented 1 year ago

There is Language Server for Dart but Flutter support could be somewhat problematic without official Flutter's Team support I think.

caleb654 commented 1 year ago

Yes! VS code is getting to be very slow working on large Flutter and Dart projects.

murshid1988 commented 1 year ago

Will this be a milestone?

hovsater commented 1 year ago

Work have begun to enable Zed to be extended with other languages. Unfortunately, I don't have an estimate on when this will be available for the general public. Stay tuned. πŸ™‚

mikezamayias commented 7 months ago

Are there any updates?

johnmccutchan commented 4 months ago

Hey, I'm on the Flutter team and am really interested in trying Zed out on a Dart project.

KristijanZic commented 4 months ago

As a Flutter developer I can tell you that we really need this. VS Code works well but becomes incredibly slow and resource heavy as soon as you get an hour into your work and have a few more tabs opened. Android Studio is even worse tho.

Dart and Flutter support would be very much appreciated.

rumanabwu commented 4 months ago

VS code and Android studio as both resource heavy, so flutter support on this would be great, thanks in advance.

itfidele commented 4 months ago

Flutter support would make this awesome Zed IDE the King of IDEs, until then i'm enjoying every frame of this gaming editor

M1chlCZ commented 4 months ago

I would want to voice my support for this request. Dart/Flutter on Zed would be great. Until then I can use it for my GO, Rust programming.

JacquesKovacs commented 4 months ago

Flutter support would make this the king.

PsHohe commented 4 months ago

Flutter support would be awesome.

MaherSafadii commented 4 months ago

Yes please, tired of VScodes web experience, especially when the project is large it gets slow and heavy on resources.

rodydavis commented 4 months ago

Is it possible to still work with Dart only projects via the LSP?

steevedevops commented 4 months ago

Any update about this guys ?

imujtaba8488 commented 4 months ago

Expressing my support for this. We truly desire it.

agent3bood commented 4 months ago

Hello all, would you checkout my branch and test it to point out any issues or improvements you can find.

https://github.com/zed-industries/zed/pull/7220

gaganyadav80 commented 3 months ago

Flutter support would be awesome! And thank you @agent3bood for you contribution to add Dart support.

eauw commented 3 months ago

Zed is awesome 🀩 and Flutter support would lift our DX to another level.

ebsangam commented 3 months ago

Need Flutter support..

realkoc commented 3 months ago

+1 Flutter support is literally the only thing from keeping me doing the full switch from vscode

user-23xyz commented 3 months ago

im just here trying to do some autocompletion on vs code completly lagging, help zed team

timka-123 commented 3 months ago

+1 need flutter, please

plooliveira commented 3 months ago

We needs ZED for Flutter. We no longer have one option of clean, straightforward and fast code editor to make decent work with flutter.

Muzammil-Bit commented 3 months ago

Any update on this or timeline?

ZorinFoss commented 3 months ago

Dart support will ship in Zed 0.124. :ship: :rocket: https://github.com/zed-industries/zed/pull/7220#issuecomment-1953044960

eauw commented 3 months ago

Dart support will ship in Zed 0.124. 🚒 πŸš€ #7220 (comment)

I'm very happy to hear that. But since Dart support doesn't mean Flutter support I may ask what the plans for adding Flutter support are?

DavidOrakpo commented 3 months ago

I tried the beta version of the ide to experience Dart. It's an average experience sadly without flutter support built in. Launch configurations are also not adhered to by the IDE. No simple way to spin up emulators or simulators as well. You can ofcourse spin up your application using the Flutter cli commands, but that's just about it. Maybe in a few months it'd be a better experience

Reprevise commented 3 months ago

I tried the beta version of the ide to experience Dart. It's an average experience sadly without flutter support built in. Launch configurations are also not adhered to by the IDE. No simple way to spin up emulators or simulators as well. You can ofcourse spin up your application using the Flutter cli commands, but that's just about it. Maybe in a few months it'd be a better experience

Agreed, though I think this should be handled by a Flutter plugin/extension instead of being baked into the editor itself.

Muzammil-Bit commented 3 months ago

I tried the beta version of the ide to experience Dart. It's an average experience sadly without flutter support built in. Launch configurations are also not adhered to by the IDE. No simple way to spin up emulators or simulators as well. You can ofcourse spin up your application using the Flutter cli commands, but that's just about it. Maybe in a few months it'd be a better experience

Agreed, though I think this should be handled by a Flutter plugin/extension instead of being baked into the editor itself.

Yes, but that would also mean for Zed to open up for plugins & extensions.

aashbinc commented 3 months ago

Waiting for Dart Support in Zed

caleb654 commented 3 months ago

In the meantime before we have full Flutter support does anyone know a way to trigger hot reload on save when running an app in Zed's terminal?

Rujitsuki commented 3 months ago

In the meantime before we have full Flutter support does anyone know a way to trigger hot reload on save when running an app in Zed's terminal?

currently i use Dashmon together with Zed for hot reload. Works for me fine.

bigjjjim commented 2 months ago

Very excited to see this thread, would love to see full flutter support as well! πŸ”₯

crefter commented 2 months ago

still waiting flutter support !!!πŸ”₯

mhmzdev commented 2 months ago

I literally fell in love with the speed and performance of it. VSCode is getting slow on large flutter projects, files literally show errors if we even switch branch and it stays there for a long time.

Awaiting on this, downloaded Zed πŸ‘πŸΌ

moverishere commented 1 month ago

WE NEED FLUTTER SUPPORT!

Moshyfawn commented 1 month ago

Please refrain from spamming. Thank you!

AfaqAnwar commented 1 month ago

The Dart support is great, just tried it out. Using Copilot it's barely usable with Flutter projects. Would love auto-complete for Flutter with its widget system. Hoping this gets implemented in the future.

JoseDFS commented 1 month ago

Anyone knows if there any way to attach de debugger? ive been working with the devtools on browser setting breakpoints there but i dont know if exists a more easy or comfortable way of debugging flutter with zed

agent3bood commented 1 month ago

Zed does not have a debugger.

Rodrigolmti commented 1 month ago

Can we re open the issue since we still don't have support for flutter? Dart is indeed a milestone for that but we are not there yet, right?

Moshyfawn commented 1 month ago

I don't think this particular issue will be reopened, so as not to prolong feature requests. The Dart support has landed, which triggered the closure of this ticket. Consider +πŸ‘ing zed-industries/extensions#247 instead and moving the conversation over to the other thread, as Flutter won't be supported in the core of the Zed.