9a7ecfb
Use status colors for diagnostic underlines
Max Brunsfeld
created
8d3f42d
Start language servers based on buffers' languages
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
a66b81d
Add an integration test for replicating buffer's diagnostics
Max Brunsfeld
created
89392cd
Avoid using worktree handle in File's path methods
Click to expand commit body
This avoids a circular model update that was happening
when trying to retrieve the absolute path from a buffer's
file while applying remote operations.
This gives all entities a chance of running `Drop::drop` which,
in turn, could cause them to spawn a critical task. For example,
we use this capability when a language server is dropped and we
need to asynchronously send a shutdown message.
Antonio Scandurra
created
61e0648
Avoid circular model update when sending diagnostics operations
Max Brunsfeld
created
f0353d6
Add note in README about rustc bug on macOS monterey
40c861c
Move protobuf logic from buffer crate to language crate
Click to expand commit body
This will enable us to add operations that only pertain to the language crate.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
78d97a3
Use Diagnostic struct in buffer's diagnostics multimap
Max Brunsfeld
created
1aee7bd
Delay quit until language servers are gracefully shut down
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
,
Antonio Scandurra
, and
Nathan Sobo
created
b8994c2
Add a facility for delaying quit until critical tasks finish
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
and
Antonio Scandurra
created
6e5ec2a
Take a `&clock::Global` instead of cloning in `edits_since`
Antonio Scandurra
created
2919cbe
Try signing rust-analyzer in order to embed it in the app bundle
Antonio Scandurra
created
f59be5f
Always notify when receiving buffer operations
Click to expand commit body
We had changed it to only emit a notification when the buffer was
actually edited, but we also want to notify when we receive non-edit
operations, such as a selection update.
Antonio Scandurra
created
3228a55
Fix test-support feature propagation for editor and workspace
Nathan Sobo
created
b571eae
Extend empty diagnostic ranges by one character
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
6212eba
Communicate with language servers in terms of UTF-16 coordinates
Click to expand commit body
This required indexing UTF-16 positions in `Rope`. We tried opting
into the UTF-8 experimental support but it didn't seem to work
correctly and the standard is UTF-16 anyway.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
9c1b015
Avoid unnecessary conversion to offsets in `diagnostics_in_range`
Antonio Scandurra
created
78c158e
Support only UTF-8 for now when communicating with language server