Cole Miller
9cdbece495
Normalize ranges returned by language servers in more cases ( #63372 )
...
Previously, we'd panic when constructing multibuffer excerpts in
response to "find all references" if a language server returned a
reversed range. This PR makes it so we normalize those ranges using the
existing `range_from_lsp` helper before passing them to
`set_excerpts_for_path`. It also replaces several other places where we
were calling `point_from_lsp` on each endpoint of a range separately
with `range_from_lsp`.
Closes ZED-79W
Co-authored-by: Mikayla <mikayla@zed.dev >
Release Notes:
- Fixed a crash with some languages servers when handling
`editor::FindAllReferences`.
2026-08-28 18:06:41 +00:00
..
2026-08-28 18:05:57 +00:00
2026-03-06 14:03:45 +00:00
2026-08-16 11:41:17 +00:00
2026-08-26 14:33:08 +00:00
2026-07-27 21:04:36 +00:00
2026-08-17 16:39:45 +00:00
2026-08-17 01:47:11 +00:00
2026-08-26 18:21:33 +00:00
2026-07-16 11:43:27 +00:00
2026-08-27 23:28:05 +00:00
2026-07-29 20:59:24 +00:00
2026-05-05 22:41:13 +00:00
2026-07-24 00:16:06 +00:00
2026-08-12 18:14:00 +00:00
2026-08-12 18:13:41 +00:00
2026-08-12 18:13:41 +00:00
2026-07-23 11:22:43 +00:00
2026-08-12 18:14:00 +00:00
2026-07-21 06:14:52 +00:00
2026-08-27 12:55:42 +00:00
2026-08-28 18:05:57 +00:00
2026-08-28 18:06:41 +00:00
2026-05-26 07:09:47 +00:00
2026-08-28 03:28:04 +00:00
2026-08-20 16:42:42 +00:00
2026-08-20 16:42:42 +00:00
2026-04-08 22:29:16 +03:00
2026-08-28 13:19:29 +00:00
2026-08-28 18:06:41 +00:00
2026-08-28 18:06:41 +00:00
2026-08-26 21:36:59 +00:00
2026-08-24 16:30:38 +00:00
2026-05-07 17:40:28 +00:00
2026-08-26 18:21:33 +00:00
2026-07-23 11:22:43 +00:00
2026-08-20 11:17:57 +00:00
2026-08-27 12:55:42 +00:00
2026-03-25 03:15:51 +00:00
2026-04-01 17:25:32 +00:00
2026-08-28 17:31:36 +00:00
2026-08-28 13:19:29 +00:00
2026-08-12 18:14:00 +00:00
2026-04-01 17:25:32 +00:00
2026-05-29 17:49:11 +00:00
2026-06-04 23:34:13 +00:00
2026-08-27 16:21:41 +00:00
2026-08-26 14:28:43 +00:00
2026-08-28 18:06:41 +00:00
2026-03-18 12:05:57 -07:00
2026-08-27 05:35:30 +00:00
2026-07-22 09:03:13 +00:00
2026-05-05 22:41:13 +00:00
2026-08-14 00:20:27 +00:00
2026-08-12 18:14:00 +00:00
2026-08-12 18:14:00 +00:00
2026-08-18 15:06:02 +00:00
2026-06-05 11:17:44 +00:00
2026-06-12 15:37:55 +00:00
2026-07-31 19:57:13 +00:00
2026-06-27 21:19:49 +00:00