Skip to content

Commit d912b0d

Browse files
Remove unused tasks-related config (#27707)
Release Notes: - N/A
1 parent 044508e commit d912b0d

File tree

5 files changed

+0
-37
lines changed

5 files changed

+0
-37
lines changed

Cargo.lock

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/settings/default.json

-5
Original file line numberDiff line numberDiff line change
@@ -1475,11 +1475,6 @@
14751475
"dev": {
14761476
// "theme": "Andromeda"
14771477
},
1478-
// Task-related settings.
1479-
"task": {
1480-
// Whether to show task status indicator in the status bar. Default: true
1481-
"show_status_indicator": true
1482-
},
14831478
// Whether to show full labels in line indicator or short ones
14841479
//
14851480
// Values:

crates/tasks_ui/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ menu.workspace = true
2323
picker.workspace = true
2424
project.workspace = true
2525
task.workspace = true
26-
schemars.workspace = true
2726
serde.workspace = true
28-
settings.workspace = true
2927
ui.workspace = true
3028
util.workspace = true
3129
workspace.workspace = true

crates/tasks_ui/src/settings.rs

-25
This file was deleted.

crates/tasks_ui/src/tasks_ui.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use std::collections::HashMap;
22
use std::path::Path;
33

4-
use ::settings::Settings;
54
use editor::Editor;
65
use feature_flags::{Debugger, FeatureFlagViewExt};
76
use gpui::{App, AppContext as _, Context, Entity, Task, Window};
@@ -12,12 +11,10 @@ use workspace::tasks::schedule_task;
1211
use workspace::{tasks::schedule_resolved_task, Start, Workspace};
1312

1413
mod modal;
15-
mod settings;
1614

1715
pub use modal::{Rerun, Spawn};
1816

1917
pub fn init(cx: &mut App) {
20-
settings::TaskSettings::register(cx);
2118
cx.observe_new(
2219
|workspace: &mut Workspace, window: Option<&mut Window>, cx: &mut Context<Workspace>| {
2320
workspace

0 commit comments

Comments
 (0)