tasks: Add status indicator to the status bar (#10267)
Release Notes: - Added task status indicator to the status bar.
This commit is contained in:
parent
ce5bc399df
commit
4ce5b22989
7 changed files with 153 additions and 6 deletions
|
@ -1,5 +1,6 @@
|
|||
use std::{path::PathBuf, sync::Arc};
|
||||
|
||||
use ::settings::Settings;
|
||||
use editor::Editor;
|
||||
use gpui::{AppContext, ViewContext, WeakView, WindowContext};
|
||||
use language::{Language, Point};
|
||||
|
@ -10,8 +11,13 @@ use util::ResultExt;
|
|||
use workspace::Workspace;
|
||||
|
||||
mod modal;
|
||||
mod settings;
|
||||
mod status_indicator;
|
||||
|
||||
pub use status_indicator::TaskStatusIndicator;
|
||||
|
||||
pub fn init(cx: &mut AppContext) {
|
||||
settings::TaskSettings::register(cx);
|
||||
cx.observe_new_views(
|
||||
|workspace: &mut Workspace, _: &mut ViewContext<Workspace>| {
|
||||
workspace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue