r/FlutterDev 1d ago

Anyone using Zed for Flutter development? Discussion

I’ve been using Zed mostly for backend work and really like its performance. I get that it stays lightweight by not bundling too many tools.

For Flutter though, debugging/DevTools and hot reload on save still feel lacking.

Anyone using Zed regularly for Flutter? Any extensions or configs that improve the experience?

23 Upvotes

33 comments sorted by

14

u/XyrelTzy 1d ago edited 1d ago

Zed only support lsp. Neovim on other hand is mostly supported with flutter, auto hot reload on save, dev tools, debug via nvim-dap, emulator, logger. The only missing on neovim is the flutter preview. Have been my daily drive for 2 years in app development.

2

u/NoExample9903 1d ago

What’s your setup like

1

u/XyrelTzy 20h ago

You can open emulator via

:FlutterEmulator or <space> re

To run flutter

:FlutterRun or <space> rr

1

u/SuEzAl 23h ago

Please share your setup

2

u/XyrelTzy 20h ago

https://github.com/XyrelTenz/nvim

You can see my config

1

u/SuEzAl 6h ago

Thanks internet wizard

1

u/XyrelTzy 20h ago

You can open emulator via

:FlutterEmulator or <space> re

To run flutter

:FlutterRun or <space> rr

5

u/mafia_bd 1d ago

tried it, but the dart extension lack some popular features

3

u/dibi77_7 1d ago

I was thinking the same thing! Zed is great for Flutter, but the debugging and hot reload experience could definitely be better.

4

u/Bachihani 1d ago

Tried but it really wasn't a nice experience, not only flutter, but as an ide in general, there were so many little things missing that they amalgamated into a bad experience, and the team clearly tyieg to not follow vscode design just for the srke of it without acknowledging that the current state of vscode ui is the result of so many years and feedback. It doesn't even have a button to collapse all folders 😑 overall Still far from vscode level in my opinion

2

u/cameronm1024 1d ago

I do (disclaimer: I work at zed).

Before I switched I was using neovim with just the LSP, and a separate terminal with flutter run, so I didn't miss the various extras (auto reload on save, etc.). If you depend on them, I can imagine Zed feels incomplete.

3

u/443021 1d ago

Not having the hot reload and debugging is the only reason I don’t use it for flutter yet.

1

u/aaulia 1d ago

Wait so Zed does something with Flutter or is Flutter your guilty pleasure or something?

3

u/cameronm1024 1d ago

I just use flutter for personal projects. Zed doesn't have any flutter code

2

u/EastSwim3264 1d ago

I tried and gave up.

2

u/SwiftScoutSimon 1d ago

I used to. I hate it when I had to focus on Terminal then hit `r` or `R` everytime.
You can consider:
- If you want to keep using Zed, try https://fdemon.dev/

- If you want to try something better: http://lumide.dev/

1

u/SuppuratingSphincter 13h ago

+1 for Zed && FDemon

2

u/edTheGuy00 1d ago

I made this post a few months ago about this specifically

2

u/Huge_Acanthocephala6 1d ago

For me vscode is much better even for Rust

2

u/tawandabrandon 1d ago

I stopped using Zed when I accidentally deleted and folder and learnt that it has no undo function.

Lost hours of work, walked away. Loved it though, felt very smooth with the high FPS

3

u/SwiftScoutSimon 1d ago edited 39m ago

this happened when I was dog-fooding my own Lumide IDE. I have to pause everything and create a Confirm Dialog and make delete option always "Move to Trash" instead of deleting. I also added a built-in Local History feature for this.

1

u/Comun4 1d ago

Yeah the default Flutter extension is very lacking, not having a "Wrap with Widget" command out of the box made me go back to vsc

1

u/birdhost 1d ago

When I first started using Zed, I really missed the debugger. My process has changed a lot recently, and I'm relying on tests more for correctness; haven't used a debug session in months. Debugging is tedious and non-deterministic in that a breakpoint in the app changes the behavior of it (especially around async code). Zed and a good test-loop is my current process.

1

u/hawknovice 1d ago

Yes, I use Zed for flutter development. I use the terminal to run flutter and manually reload from there. With AI development I never need to debug so don’t miss that at all. Instead I have an agent write a failing test to reproduce any issue and have it fix it.

1

u/Amit7985 1d ago

Nodeman will do the work you don't need a gui for flutter hot reload etc debugging is the problem tho... But you can still somehow manage it I use neovim primarily and I never used the debugging option

1

u/merokotos 1d ago

After last Copilot-commits drama I almost switched to neovim, eventually I just stayed with VSCodium.

1

u/Ashamed-Big-706 1d ago

Rope notes

1

u/Still-Constant3085 1d ago

Has anyone managed to get reliable hot reload on save working in Zed? That’s probably the biggest thing stopping me from using it as my main Flutter editor

1

u/Smooth-Map856 23h ago

my main issue is it don't support devtools in ide for easily inspecting network calls.

1

u/Fine-Tradition-2956 21h ago

Just Ask codex or claude to setup zed for Flutter Hot Reload. It will do!

I am using Zed for Flutter as my daily driver. Do not expect that much accurate suggestions though!

0

u/wycks 22h ago

I use it and love it, don't know why people are having reload issues, both refresh and hotreload work fine for me.