1 line
2 KiB
Plaintext
1 line
2 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>Hi guys,<br/> I'm trying to develop flutter apps with emacs, I've tried <code>lsp-mode</code> + <code>lsp-dart</code> 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 <code>C-n</code> <code>C-p</code> continually without lag while emacs waits for server response)... it had lots of features which probably contributed to this.</p> <p>I found <code>dart-server</code> which seems like it only requires <code>dartanalyzer</code> and not also <code>dart language server</code>, 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 <code>dartanalyzer</code> I'm wondering if <code>dart-server</code> still works or is a viable option for dart/flutter dev in emacs.</p> <p>Also, what're your thoughts on <code>eglot</code>, does it stay out of my way until I request for features just like <code>dart-server</code> (e.g. <code>C-c ?</code> to give details about symbol under point, or <code>M-/</code> for auto completions, rather than constant popups in miniframes and the echo area)</p> <p>This subreddit has been so helpful in my journey with emacs... thank you all</p> <p>EDIT:: sorry for wasting your time, after trying a few times, <code>dart-server</code> seems to work in the flutter project (also some things still aren't working, like <code>flycheck</code> support and intelligent completion with <code>M-/</code>). However, I'm still curious about eglot... I'd like some of the lsp features, but mainly on-demand</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/hungry_m8"> /u/hungry_m8 </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/q7sppm/does_dartserver_still_work_are_eglot_and_lspmode/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/q7sppm/does_dartserver_still_work_are_eglot_and_lspmode/">[comments]</a></span> |