Merge pull request #455 from zed-industries/rename

Introduce rename support via `F2`
This commit is contained in:
Antonio Scandurra
2022-02-19 11:07:39 +01:00
committed by GitHub
20 changed files with 1604 additions and 490 deletions
+1 -1
View File
@@ -492,7 +492,7 @@ pub struct WorkspaceParams {
impl WorkspaceParams {
#[cfg(any(test, feature = "test-support"))]
pub fn test(cx: &mut MutableAppContext) -> Self {
let fs = Arc::new(project::FakeFs::new(cx.background().clone()));
let fs = project::FakeFs::new(cx.background().clone());
let languages = Arc::new(LanguageRegistry::new());
let http_client = client::test::FakeHttpClient::new(|_| async move {
Ok(client::http::ServerResponse::new(404))