dart lsp can not work
Claude Code v2.0.76
I have installed lsp and dart is available on my computer, but I have been unable to use dart lsp
Thanks for reporting! You're on Claude Code v2.0.76, which has a known LSP integration bug (race condition). This was fixed in v2.1.0+.
Please upgrade to the latest Claude Code version:
claude --version # Check current version
# Upgrade to latest
The dart-analyzer plugin configuration matches the official Dart LSP specs, so upgrading should resolve the issue.
If you still see problems after upgrading to v2.1.0+, please:
- Check
/pluginfor any errors - Verify
dart --versionworks in your terminal - Share any error messages from the Plugins tab
Let me know if the issue persists after upgrading!
hello, I can use it now, but I have a question. I have multiple flutter dart versions locally for different projects In the new flutter version, the "mcp" of DARt-MCP-server can be used. It can call the dart language server and lsp by itself. However, I switched to the old flutter 3.29, which does not support DARt-MCP-server. He also can't directly use the dart language server through your service. I just want to use this lsp server in those projects that can't upgrade the dart. I wonder if there's a way
The plugin uses whatever dart is in your PATH. Use FVM or set PATH to the desired Flutter SDK before starting Claude Code. dart language-server works with Flutter 3.29.