-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
Description
CodeNav window doesn't stay up-to-date with the selected editor window. It only updates once the user does some sort of input into the editor window.
Implementation details:
VS.Events.WindowEvents.ActiveFrameChanged += WindowEvents_ActiveFrameChanged;
---
private async Task WindowChangedEvent(ActiveFrameChangeEventArgs obj)
{
if (obj.OldFrame == obj.NewFrame)
{
return;
}
var documentView = await obj.NewFrame.GetDocumentViewAsync();
var filePath = documentView?.Document?.FilePath;
...
Reactions are currently unavailable