ZIm/crates/debugger_ui/src
tidely c595ed19d6
languages: Remove a eager conversion from LanguageName to String (#35667)
This PR changes the signature of `language_names` from

```rust
pub fn language_names(&self) -> Vec<String>
// Into
pub fn language_names(&self) -> Vec<LanguageName>
```

The function previously eagerly converted `LanguageName`'s to
`String`'s, which requires the reallocation of all of the elements. The
functions get called in many places in the code base, but only one of
which actually requires the conversion to a `String`. In one case it
would do a `SharedString` -> `String` -> `SharedString` conversion,
which is now totally bypassed.

Release Notes:

- N/A
2025-08-05 23:46:57 +03:00
..
session debugger: Add data breakpoint access type support (#34639) 2025-07-17 17:05:58 +00:00
tests debugger: Fix not being able to stop a Go debug session when no breakpoints were ever hit (#35190) 2025-07-28 13:14:36 +00:00
attach_modal.rs Edit debug tasks (#32908) 2025-07-07 14:04:21 -07:00
debugger_panel.rs Add zed://extension/{id} links (#34492) 2025-07-15 13:42:25 -06:00
debugger_ui.rs debugger: Add data breakpoint access type support (#34639) 2025-07-17 17:05:58 +00:00
dropdown_menus.rs debugger: Improve appearance of session list for JavaScript debugging (#34322) 2025-07-12 15:56:05 +00:00
new_process_modal.rs languages: Remove a eager conversion from LanguageName to String (#35667) 2025-08-05 23:46:57 +03:00
onboarding_modal.rs debugger: Add onboarding modal (#32961) 2025-06-18 18:44:02 +00:00
persistence.rs debugger: Add memory view (#33955) 2025-07-14 16:32:06 +02:00
session.rs debugger: Improve appearance of session list for JavaScript debugging (#34322) 2025-07-12 15:56:05 +00:00
stack_trace_view.rs Remove into SelectionEffects from .change_selections (#33554) 2025-06-27 14:31:31 -06:00
tests.rs debugger: Debug sessions rerun build tasks by default when restarting (#33724) 2025-07-01 15:43:58 -04:00