ZIm/crates/language/src
Bennet Bo Fenner ce4c15dca6
Show diagnostics in scrollbar (#7175)
This PR implements support for displaying diagnostics in the scrollbar,
similar to what is already done for search results, symbols, git diff,
...

For example, changing a field name (`text`) without changing the
references looks like this in `buffer.rs` (note the red lines in the
scrollbar):

![image](https://github.com/zed-industries/zed/assets/53836821/c46f0d55-32e3-4334-8ad7-66d1578d5725)

As you can see, the errors, warnings, ... are displayed in the scroll
bar, which helps to identify possible problems with the current file.

Relevant issues: #4866, #6819

Release Notes:

- Added diagnostic indicators to the scrollbar
2024-02-02 12:10:42 +02:00
..
syntax_map text: Wrap BufferId into a newtype 2024-01-29 20:00:47 +01:00
buffer.rs Show diagnostics in scrollbar (#7175) 2024-02-02 12:10:42 +02:00
buffer_tests.rs text: Wrap BufferId into a newtype 2024-01-29 20:00:47 +01:00
diagnostic_set.rs Clean up references in doc comments in language crate (#6729) 2024-01-25 16:04:58 -05:00
highlight_map.rs Docs for indent_size_for_line and co 2024-01-09 20:50:34 +01:00
language.rs WIP: Add a setting to visually redact enviroment variables (#7124) 2024-01-31 11:42:09 -08:00
language_settings.rs chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
markdown.rs chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
outline.rs More docs 2024-01-09 10:53:57 -08:00
proto.rs text: Wrap BufferId into a newtype 2024-01-29 20:00:47 +01:00
syntax_map.rs WIP: Add a setting to visually redact enviroment variables (#7124) 2024-01-31 11:42:09 -08:00