LSP Known Issues
See original GitHub issueWhen running in LSP mode, the following things are known not to work (or function differently to non-LSP):
Running “Dart: Sort Members” command failsWidget UI Guides don’t workhttps://github.com/Dart-Code/Dart-Code/issues/2425Gutter Icons don’t workhttps://github.com/Dart-Code/Dart-Code/issues/2426Thewontfixdart.doNotFormat
setting used to exclude files/folders from auto-formatting does not workThehttps://github.com/Dart-Code/Dart-Code/issues/2680dart.analysisExcludedFolders
setting does not exclude folders from analysisThedart.enableSdkFormatter
setting does not unregister the formatterAnalysis server plugins do not workFind implementations only works on the method namewontfixRename does not work on thewontfiximport
orclass
keywords- Refactor: Extract local variable is not available https://github.com/Dart-Code/Dart-Code/issues/2951
Refactor: Extract method is not availableRefactor: Extract widget is not available- Moving/renaming files do not update references https://github.com/Dart-Code/Dart-Code/issues/2761
- No options for including parens/args in completion https://github.com/Dart-Code/Dart-Code/issues/2823
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:23 (11 by maintainers)
Top Results From Across the Web
Troubleshooting - LSP Mode - LSP support for Emacs
Check *lsp-log* buffer and verify that lsp-mode is able to find the server. If lsp-mode is unable to find the binary but it...
Read more >Troubleshooting - LSP for Sublime Text
If the server is crashing on startup, try running LSP: Troubleshoot server from the Command Palette and check the "Server output" for potential...
Read more >Troubleshooting - Sublime Text Language Server Protocol ...
Common problems. 1. LSP doesn't start my language server. Make sure you have a folder added in your Sublime workspace. Make sure the...
Read more >r/neovim - LSP Trouble: A pretty diagnostics list to help your ...
LSP Trouble : A pretty diagnostics list to help your solve all the trouble your code is causing. · ✨ Features · More...
Read more >How to troubleshoot LSP interactions - Sophos Support
Step one: Identify the issue. Step two: Verify whether the Sophos LSP is involved in the issue. Step three: If the Sophos LSP...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Most of the issue here are resolved. There are a few outstanding which have their own issues (which I’ve linked in the description above), which I’m hoping to address fairly soon so that LSP can become the default.
If you encounter any other issues not listed, please file new specific issues. Thanks!
@RaviKavaiya correct - for Flutter you need to use the SDK it provides. When you run
flutter --version
it will show the version of the SDK (eg.Dart 2.9.0 (build 2.9.0-21.0.dev 89fe12b12a)
) so once that’s higher than the version that includes this change it should work.