Hi guys,
I'm trying to develop flutter apps with emacs, I've tried lsp-mode + lsp-dart and it worked just fine... my only problem was that it was too slow, my emacs was very laggy (it might be the lsp server that is slow, but at least I could be able C-n C-p continually without lag while emacs waits for server response)... it had lots of features which probably contributed to this.

I found dart-server which seems like it only requires dartanalyzer and not also dart language server, I tried it on a single test file and some features works. However, when I tried it with my flutter project it didn't work although it booted up the dartanalyzer I'm wondering if dart-server still works or is a viable option for dart/flutter dev in emacs.

Also, what're your thoughts on eglot, does it stay out of my way until I request for features just like dart-server (e.g. C-c ? to give details about symbol under point, or M-/ for auto completions, rather than constant popups in miniframes and the echo area)

This subreddit has been so helpful in my journey with emacs... thank you all

EDIT:: sorry for wasting your time, after trying a few times, dart-server seems to work in the flutter project (also some things still aren't working, like flycheck support and intelligent completion with M-/). However, I'm still curious about eglot... I'd like some of the lsp features, but mainly on-demand

submitted by /u/hungry_m8
[link] [comments]