066b4fa
Restructure KeyMap file, make it easy to edit in Zed
Click to expand commit body
Add a JSON schema for this file so that autocomplete can be used for the actions.
Max Brunsfeld
created
f52050a
Use the 'jsonc' language id for all JSON files
Click to expand commit body
This way, comments are allowed by the language server.
Max Brunsfeld
created
3a28f09
Allow comments in setting and keymap JSON files
Max Brunsfeld
created
066e572
Merge pull request #864 from zed-industries/polish-project-panel
Click to expand commit body
Sort directories before files in a case-insensitive manner
Max Brunsfeld
created
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.