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
commit 8913ec6cfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 1604 additions and 490 deletions

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))