f9cd1b2
Merge pull request #866 from zed-industries/max-line-len-2
Click to expand commit body
Always wrap lines that are wider than 512 em advances
Max Brunsfeld
created
5081eaf
Always wrap lines that are wider than 512 em advances
Click to expand commit body
We went with a more conservative upper bound so that the number of
characters (hopefully) never exceeds `MAX_LINE_LEN` (1024) when laying
out text.
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
and
Max Brunsfeld
created
e52fad0
Merge pull request #865 from zed-industries/remove-web-frontend
05c44b9
Process incoming CLI requests on the main thread
Nathan Sobo
created
75f0326
Use ipc_channel crate to communicate between cli and app
Click to expand commit body
We still aren't handling CLI requests in the app, but this lays the foundation for bi-directional communication.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
b9511af
Merge pull request #860 from zed-industries/fix-more-project-diagnostics-cycles
Click to expand commit body
Don't emit event when LSP reports consecutive empty diagnostics
Antonio Scandurra
created
8ef6b1d
Don't emit event when LSP reports consecutive empty diagnostics
Click to expand commit body
This is related to #849: in that pull request we avoided *storing*
empty diagnostics, but we'd still report an event when receiving
consecutive empty diagnostics. So if the project diagnostics editor
was open, it could happen that opening a buffer would cause the
language server to report zero diagnostics. We would therefore close
the buffer because there were no diagnostics, but doing so would cause
the LSP to report another event with zero diagnostics. This would repeat
forever, causing Zed to use a lot of CPU and the UI not to refresh properly.
With this commit we will simply avoid emitting a `DiagnosticsUpdated` event
altogether if no diagnostics were present before *and* the LSP is reporting
a `PublishDiagnostics` event with no diagnostics in it.
Antonio Scandurra
created
c2fa7b9
Merge pull request #857 from zed-industries/file-finder-fixes
Click to expand commit body
File finder fixes
Max Brunsfeld
created
717ebe6
Don't cancel match updates when picker query changes
Click to expand commit body
The file finder often cancels an in-progress match task when
the project updates. But it still needs to take the matches
that it did find and add them to its results. So we should
not cancel the entire task, as this will cause the
partial results to be discarded.
Max Brunsfeld
created
4737967
Update file finder correctly when project files change
Max Brunsfeld
created
8ff0277
Handle linewise motions correctly and fix panic when executing invalid actions