diff --git a/src/Cody.VisualStudio/Services/DocumentsSyncService.cs b/src/Cody.VisualStudio/Services/DocumentsSyncService.cs index 4aa19b4..bea346c 100644 --- a/src/Cody.VisualStudio/Services/DocumentsSyncService.cs +++ b/src/Cody.VisualStudio/Services/DocumentsSyncService.cs @@ -69,7 +69,11 @@ public void Initialize() if (activeCookie != 0) { var path = rdt.GetDocumentInfo(activeCookie).Moniker; - if (path != null) documentActions.OnFocus(path); + if (path != null) + { + trace.TraceEvent("OnInitFocus"); + documentActions.OnFocus(path); + } } } finally