You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support (as a preview option) using the LSP protocol for analysis server communications #2238
Right now the Dart extension doesn't use LSP. What you're seeing logged is the original analysis server protocol (pre-LSP). It should essentially have the same contents, just in a different form (though completions are a bit tricky, since availableSuggestions are a way to preload them into the editor for performance reasons).
There is ongoing work to migrate to LSP (currently only on the lsp branch here) and as part of that, the logging would show LSP traffic instead of the original JSON protocol. I'm hoping to merge it soon (probably sometime in Feb) so that it would available for testing (though there are still some rough edges or unimplemented functionality).
I don't think there's actually an issue for this work (there is a project here) so I'll rename this one slightly for it.
changed the title [-]Capture Logs via DartCode does not show language server protocol messages[/-][+]Support (as a preview option) using the LSP protocol for analysis server communications[/+]on Jan 28, 2020
I don't believe so. I've just uninstalled flutter/dart-code and then re-installed the standard flutter extension from the market place which re-installed dart-code.
Activity
DanTup commentedon Jan 28, 2020
Right now the Dart extension doesn't use LSP. What you're seeing logged is the original analysis server protocol (pre-LSP). It should essentially have the same contents, just in a different form (though completions are a bit tricky, since
availableSuggestionsare a way to preload them into the editor for performance reasons).There is ongoing work to migrate to LSP (currently only on the
lspbranch here) and as part of that, the logging would show LSP traffic instead of the original JSON protocol. I'm hoping to merge it soon (probably sometime in Feb) so that it would available for testing (though there are still some rough edges or unimplemented functionality).I don't think there's actually an issue for this work (there is a project here) so I'll rename this one slightly for it.
[-]Capture Logs via DartCode does not show language server protocol messages[/-][+]Support (as a preview option) using the LSP protocol for analysis server communications[/+]bsutton commentedon Oct 21, 2020
I don't believe so. I've just uninstalled flutter/dart-code and then re-installed the standard flutter extension from the market place which re-installed dart-code.
The same problem persists.
DanTup commentedon Oct 22, 2020
@bsutton was that comment intended for another issue?
bsutton commentedon Oct 22, 2020
Sorry yes.