-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run lsp-dart in a dart file #195
Comments
Do you have flutter / dart available in your |
Yes, I have flutter in my PATH and I started emacs from that terminal. Still the same result. |
Alright, could you follow the issue template and include here the result of: M-x |
I get the following result when I run lsp-dart-version: [LSP Dart] 1.24.1 at 2023.04.26 @ Emacs 28.2 [Flutter SDK] /home/umer/Development/flutter/ |
@ericdallo please support on this. |
@softode-code sorry for the delay. The output looks correct (besides the weird dart sdk chars), and I noticed you are using doom-emacs, so no extra config from https://emacs-lsp.github.io/lsp-dart/ is necessary, you can check my dotfiles for my doom-emacs as example. Make sure you run could you try on this sample project? |
Still the same result. |
Could you try lsp-start-pain.el ? |
Here is the logs from "lsp-log": Command "/home/umer/Development/flutter/bin/cache/dart-sdk/bin/dart language-server --client-id emacs.lsp-dart --client-version 1.24.1" is present on the path. |
That was probably an instability in melpa for downloading packages, trying again should work |
I can not run dart-mode in doom-emacs. I have defined it in lang: as
(dart +flutter +lsp)
I have copied the config from https://emacs-lsp.github.io/lsp-dart/ exmaple:
Screenshots
The text was updated successfully, but these errors were encountered: