diff --git a/crates/project/src/prettier_support.rs b/crates/project/src/prettier_support.rs index 1b0faff3e9..c438f294b6 100644 --- a/crates/project/src/prettier_support.rs +++ b/crates/project/src/prettier_support.rs @@ -625,6 +625,7 @@ impl Project { let Some(node) = self.node.as_ref().cloned() else { return; }; + log::info!("Initializing default prettier with plugins {new_plugins:?}"); let fs = Arc::clone(&self.fs); let locate_prettier_installation = match worktree.and_then(|worktree_id| { self.worktree_for_id(worktree_id, cx) @@ -731,6 +732,7 @@ impl Project { .await .context("prettier & plugins install") .map_err(Arc::new)?; + log::info!("Initialized prettier with plugins: {installed_plugins:?}"); project.update(&mut cx, |project, _| { project.default_prettier.prettier = PrettierInstallation::Installed(PrettierInstance { diff --git a/crates/project2/src/prettier_support.rs b/crates/project2/src/prettier_support.rs index e9ce8d9a06..c176c79a91 100644 --- a/crates/project2/src/prettier_support.rs +++ b/crates/project2/src/prettier_support.rs @@ -639,6 +639,7 @@ impl Project { let Some(node) = self.node.as_ref().cloned() else { return; }; + log::info!("Initializing default prettier with plugins {new_plugins:?}"); let fs = Arc::clone(&self.fs); let locate_prettier_installation = match worktree.and_then(|worktree_id| { self.worktree_for_id(worktree_id, cx) @@ -745,6 +746,7 @@ impl Project { .await .context("prettier & plugins install") .map_err(Arc::new)?; + log::info!("Initialized prettier with plugins: {installed_plugins:?}"); project.update(&mut cx, |project, _| { project.default_prettier.prettier = PrettierInstallation::Installed(PrettierInstance {