ZIm/crates/language/src
Piotr Osiewicz ad11d83724
Skip over folded regions when iterating over multibuffer chunks (#15646)
This commit weaves through new APIs for language::BufferChunks, multi_buffer::MultiBufferChunks and inlay_map::InlayChunks that allow seeking with an upper-bound. This allows us to omit doing syntax highligting and looking up diagnostics for folded ranges. This in turn directly improves performance of assistant panel with large contexts.

Release Notes:

- Fixed poor performance when editing in the assistant panel after
inserting large files using slash commands

---------

Co-authored-by: Max <max@zed.dev>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2024-08-02 19:51:26 +02:00
..
syntax_map Bump tree-sitter and related core language parser libraries (#14986) 2024-07-24 23:38:21 +03:00
buffer.rs Skip over folded regions when iterating over multibuffer chunks (#15646) 2024-08-02 19:51:26 +02:00
buffer_tests.rs Extend symbol ranges by their annotation range when suggesting edits (#15677) 2024-08-02 11:40:29 +02:00
diagnostic_set.rs lsp: Pass back diagnostic .data when querying code actions for it (#14962) 2024-07-22 17:49:11 +02:00
highlight_map.rs Docs for indent_size_for_line and co 2024-01-09 20:50:34 +01:00
language.rs Skip over folded regions when iterating over multibuffer chunks (#15646) 2024-08-02 19:51:26 +02:00
language_registry.rs Remove primary/secondary distinction for CachedLspAdapter (#15634) 2024-08-01 13:51:34 -04:00
language_settings.rs Fix more instances of JSON schema getting clobbered when attaching references (#15339) 2024-07-27 11:44:40 -04:00
markdown.rs Fix Markdown code rendering in tooltips ignoring languages (#10607) 2024-04-16 12:49:35 +02:00
outline.rs Extend symbol ranges by their annotation range when suggesting edits (#15677) 2024-08-02 11:40:29 +02:00
proto.rs lsp: Pass back diagnostic .data when querying code actions for it (#14962) 2024-07-22 17:49:11 +02:00
syntax_map.rs chore: Fix clippy violations from Cargo.toml (#15216) 2024-07-25 20:22:01 +02:00
task_context.rs tasks: Add experimental support for user-defined task variables (#13699) 2024-07-01 15:59:19 +02:00