ZIm/crates/language/src
Michael Sloan d99f5fe83e
Add File.disk_state enum to clarify filesystem states (#20776)
Motivation for this is to make things more understandable while figuring
out #20775.

This is intended to be a refactoring that does not affect behavior, but
there are a few tricky spots:

* Previously `File.mtime()` (now `File.disk_state().mtime()`) would
return last known modification time for deleted files. Looking at uses,
I believe this will not affect anything. If there are behavior changes
here I believe they would be improvements.

* `BufferEvent::DirtyChanged` is now only emitted if dirtiness actually
changed, rather than if it may have changed. This should only be an
efficiency improvement.

Release Notes:

- N/A

Co-authored-by: Mikayla Maki <mikayla@zed.dev>
2024-11-18 10:30:08 -08:00
..
syntax_map Replace Default trait bound with a zero function on Summary/Dimension (#17975) 2024-09-17 19:43:59 -06:00
buffer.rs Add File.disk_state enum to clarify filesystem states (#20776) 2024-11-18 10:30:08 -08:00
buffer_tests.rs Add inclusive range scope overrides. Don't auto-close quotes at the ends of line comments (#20206) 2024-11-04 15:36:39 -08:00
diagnostic_set.rs Pass Summary::Context to Item::summarize (#18510) 2024-09-29 10:30:48 -06:00
highlight_map.rs Docs for indent_size_for_line and co 2024-01-09 20:50:34 +01:00
language.rs language servers: Fix wrong language server name (#20428) 2024-11-11 10:18:38 +01:00
language_registry.rs Extension refactor (#20305) 2024-11-06 10:06:25 -07:00
language_settings.rs Add setting to disable inline completions in language scopes (#20508) 2024-11-11 18:09:05 +01:00
markdown.rs Disable definition lists in Markdown (#17648) 2024-09-10 11:16:27 -04:00
outline.rs Extract outline rendering to outline crate (#20179) 2024-11-04 11:54:37 -05:00
proto.rs lsp: Track completion triggers for each language separately (#20471) 2024-11-10 10:29:10 +01:00
syntax_map.rs Add inclusive range scope overrides. Don't auto-close quotes at the ends of line comments (#20206) 2024-11-04 15:36:39 -08:00
task_context.rs tasks: Add ability to query active toolchains for languages (#20667) 2024-11-14 14:37:37 +01:00
toolchain.rs Fix toolchain detection for worktree-local paths (#20229) 2024-11-05 14:25:18 +01:00