zed icon indicating copy to clipboard operation
zed copied to clipboard

Flutter/Dart support

Open futurepaul opened this issue 2 years ago • 18 comments

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.

futurepaul avatar Jun 24 '22 17:06 futurepaul

yes please

s1dc0des avatar Mar 16 '23 10:03 s1dc0des

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

widersky avatar Apr 13 '23 13:04 widersky

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

caleb654 avatar May 17 '23 00:05 caleb654

Will this be a milestone?

murshid1988 avatar Jun 01 '23 07:06 murshid1988

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. 🙂

hovsater avatar Jun 01 '23 07:06 hovsater

Are there any updates?

mikezamayias avatar Oct 23 '23 20:10 mikezamayias

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

johnmccutchan avatar Jan 25 '24 07:01 johnmccutchan

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.

KristijanZic avatar Jan 26 '24 09:01 KristijanZic

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

rumanabwu avatar Jan 27 '24 01:01 rumanabwu

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

itfidele avatar Jan 27 '24 17:01 itfidele

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.

M1chlCZ avatar Jan 28 '24 12:01 M1chlCZ

Flutter support would make this the king.

JacquesKovacs avatar Jan 29 '24 11:01 JacquesKovacs

Flutter support would be awesome.

PsHohe avatar Jan 29 '24 16:01 PsHohe

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

MaherSafadii avatar Jan 29 '24 19:01 MaherSafadii

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

rodydavis avatar Jan 30 '24 05:01 rodydavis

Any update about this guys ?

steevedevops avatar Jan 30 '24 23:01 steevedevops

Expressing my support for this. We truly desire it.

imujtaba8488 avatar Feb 03 '24 07:02 imujtaba8488

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

agent3bood avatar Feb 03 '24 08:02 agent3bood

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

gaganyadav80 avatar Feb 07 '24 05:02 gaganyadav80

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

eauw avatar Feb 08 '24 10:02 eauw

Need Flutter support..

ebsangam avatar Feb 14 '24 04:02 ebsangam

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

realkoc avatar Feb 14 '24 08:02 realkoc

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

user-23xyz avatar Feb 14 '24 20:02 user-23xyz

+1 need flutter, please

timka-123 avatar Feb 15 '24 18:02 timka-123

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

plooliveira avatar Feb 16 '24 17:02 plooliveira

Any update on this or timeline?

Muzammil-Bit avatar Feb 19 '24 16:02 Muzammil-Bit

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

ZorinFoss avatar Feb 20 '24 04:02 ZorinFoss

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?

eauw avatar Feb 21 '24 22:02 eauw

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

DavidOrakpo avatar Feb 22 '24 02:02 DavidOrakpo

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.

Reprevise avatar Feb 22 '24 03:02 Reprevise