Eric Holk
bc84d80ea7
settings_ui: Gate CLI open behavior setting on feature flag ( #53964 )
...
The `cli_default_open_behavior` setting controls how `zed <path>` opens
directories, but the underlying behavior is gated behind the
`AgentV2FeatureFlag` in `open_listener.rs`. Without the flag enabled,
the setting has no effect — Zed always falls back to `NewWindow`
behavior.
This change gates the settings UI entry behind the same feature flag so
it only appears when the feature is actually active.
**Changes:**
- Converted `general_settings_section()` from a fixed-size array to a
`Vec` so the CLI setting can be conditionally appended
- Added `feature_flags` as a dependency to `settings_ui`
Release Notes:
- N/A
2026-04-15 01:10:36 -07:00
..
2026-04-14 23:55:08 +02:00
2026-04-09 18:49:16 +01:00
2026-04-13 16:59:17 -07:00
2026-04-13 16:59:17 -07:00
2026-04-13 22:51:38 +00:00
2026-04-15 06:05:56 +00:00
2026-04-08 20:39:02 -03:00
2026-04-14 12:06:17 +03:00
2026-04-13 16:50:13 -07:00
2026-04-07 11:59:12 +02:00
2026-04-01 17:25:32 +00:00
2026-04-01 17:25:32 +00:00
2026-04-15 04:58:04 +00:00
2026-04-14 10:55:03 -04:00
2026-04-07 12:28:19 -03:00
2026-04-10 10:15:28 -04:00
2026-04-15 02:22:14 -04:00
2026-04-02 17:06:57 -03:00
2026-04-15 03:47:19 +00:00
2026-04-10 10:15:28 -04:00
2026-04-15 03:47:19 +00:00
2026-04-05 23:05:35 +01:00
2026-04-05 23:05:35 +01:00
2026-04-02 17:06:57 -03:00
2026-04-08 07:24:37 +00:00
2026-04-06 16:42:20 +00:00
2026-04-14 16:20:05 +01:00
2026-04-09 10:42:21 -03:00
2026-04-10 08:28:54 -07:00
2026-04-09 10:05:40 -04:00
2026-04-15 02:22:14 -04:00
2026-04-14 21:04:10 +03:00
2026-04-14 21:04:10 +03:00
2026-04-10 13:27:04 -04:00
2026-04-13 13:30:48 -04:00
2026-04-15 00:40:22 -07:00
2026-04-01 17:25:32 +00:00
2026-04-07 12:28:19 -03:00
2026-04-02 17:06:57 -03:00
2026-04-03 19:22:17 +05:30
2026-04-13 16:50:13 -07:00
2026-04-07 12:05:02 +02:00
2026-04-15 06:05:56 +00:00
2026-04-03 11:00:13 +00:00
2026-04-07 12:05:02 +02:00
2026-04-15 03:47:19 +00:00
2026-04-13 13:14:48 -03:00
2026-04-15 03:47:19 +00:00
2026-04-01 17:25:32 +00:00
2026-04-09 10:42:21 -03:00
2026-04-14 16:21:28 +02:00
2026-04-14 16:21:28 +02:00
2026-04-14 16:21:28 +02:00
2026-04-08 15:50:36 +00:00
2026-04-07 12:28:19 -03:00
2026-04-14 18:14:31 +02:00
2026-04-13 18:17:55 +03:00
2026-04-04 16:10:22 -04:00
2026-04-13 17:23:37 +00:00
2026-04-07 11:19:21 +05:30
2026-04-15 03:47:19 +00:00
2026-04-10 09:20:38 +00:00
2026-04-10 09:20:38 +00:00
2026-04-08 18:39:17 -04:00
2026-04-07 12:28:19 -03:00
2026-04-02 12:52:42 +00:00
2026-04-07 12:28:19 -03:00
2026-04-08 18:59:33 +00:00
2026-04-07 12:28:19 -03:00
2026-04-07 12:28:19 -03:00
2026-04-01 17:25:32 +00:00
2026-04-06 16:42:20 +00:00
2026-04-02 12:52:42 +00:00
2026-04-01 17:25:32 +00:00
2026-04-10 19:11:27 +05:30
2026-04-09 21:43:51 +05:30
2026-04-10 00:47:24 +00:00
2026-04-09 10:42:21 -03:00
2026-04-07 22:37:00 +00:00
2026-04-14 11:10:31 +00:00
2026-04-15 03:47:19 +00:00
2026-04-15 02:21:56 -04:00
2026-04-07 22:05:43 -03:00
2026-04-09 10:42:21 -03:00
2026-04-07 12:28:19 -03:00
2026-04-01 17:25:32 +00:00
2026-04-07 14:15:33 +00:00
2026-04-07 12:44:19 -03:00
2026-04-08 00:34:54 +00:00
2026-04-15 03:47:19 +00:00
2026-04-13 21:47:33 +01:00
2026-04-09 16:38:07 +00:00
2026-04-15 03:47:19 +00:00
2026-04-15 03:47:19 +00:00
2026-04-14 18:40:36 +00:00
2026-04-10 02:22:55 +00:00
2026-04-15 03:47:19 +00:00
2026-04-10 09:20:38 +00:00
2026-04-13 09:07:09 +00:00
2026-04-06 17:19:29 -03:00
2026-04-14 16:20:05 +01:00
2026-04-13 22:51:38 +00:00
2026-04-15 04:58:04 +00:00
2026-04-02 00:44:53 +00:00
2026-04-15 01:10:36 -07:00
2026-04-15 00:42:28 -04:00
2026-04-14 23:26:23 -07:00
2026-04-02 13:09:29 +00:00
2026-04-07 06:14:00 +00:00
2026-04-10 12:16:51 +01:00
2026-04-01 17:25:32 +00:00
2026-04-09 12:32:27 +00:00
2026-04-07 23:41:34 +00:00
2026-04-10 09:20:38 +00:00
2026-04-14 09:27:06 -04:00
2026-04-01 17:25:32 +00:00
2026-04-15 00:42:28 -04:00
2026-04-09 14:11:55 -04:00
2026-04-09 10:42:21 -03:00
2026-04-08 22:29:16 +03:00
2026-04-07 12:28:19 -03:00
2026-04-14 23:26:23 -07:00
2026-04-15 03:47:19 +00:00
2026-04-09 10:42:21 -03:00
2026-04-15 04:58:04 +00:00
2026-04-13 22:51:38 +00:00
2026-04-02 17:06:57 -03:00
2026-04-02 17:06:57 -03:00
2026-04-06 16:29:37 -04:00