Dequalify WindowContext and AsyncWindowContext identifiers (#22444)

This makes a WIP automated refactoring a bit easier to write

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2024-12-28 14:21:32 -07:00 committed by GitHub
parent ac60dcd67a
commit 9815358bdd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 16 additions and 22 deletions

View file

@ -28,7 +28,6 @@ serde.workspace = true
serde_json.workspace = true
settings.workspace = true
smol.workspace = true
ui.workspace = true
url = { workspace = true, features = ["serde"] }
util.workspace = true
workspace.workspace = true

View file

@ -2,7 +2,7 @@ use std::sync::Arc;
use anyhow::{anyhow, bail};
use assistant_tool::Tool;
use gpui::{Model, Task};
use gpui::{Model, Task, WindowContext};
use crate::manager::ContextServerManager;
use crate::types;
@ -52,7 +52,7 @@ impl Tool for ContextServerTool {
self: std::sync::Arc<Self>,
input: serde_json::Value,
_workspace: gpui::WeakView<workspace::Workspace>,
cx: &mut ui::WindowContext,
cx: &mut WindowContext,
) -> gpui::Task<gpui::Result<String>> {
if let Some(server) = self.server_manager.read(cx).get_server(&self.server_id) {
cx.foreground_executor().spawn({