Skip to main content

ADAPTER_GROUPS

Constant ADAPTER_GROUPS 

Source
pub const ADAPTER_GROUPS: &[(&str, &[&str])];
Expand description

The adapters, grouped by the language they belong to.

A flat list of twenty names is a wall: the question a user actually has is “leave Python alone” or “only Rust waits longer”, and neither is expressible one checkbox at a time. Order is the order the groups are shown in, which is roughly how common they are rather than alphabetical — the four JavaScript managers are what most people came for.

The one invariant, enforced by [every_adapter_is_grouped_exactly_once]: every registered adapter appears here exactly once, and nothing appears here that is not registered. A new adapter that is not added to a group would silently vanish from the picker, which is the one place a user goes to find it.