提交 17edf7ec 编写于 作者: H Heejae Chang 提交者: GitHub

Merge pull request #14807 from heejaechang/navigation2

fix error list navigation
......@@ -48,17 +48,7 @@ public override void PreprocessNavigate(ITableEntryHandle entryHandle, TableEntr
// we always mark it as handled if entry is ours
e.Handled = true;
// REVIEW:
// turning off one click navigation.
// unlike FindAllReference which don't lose focus even after navigation,
// error list loses focus once navigation happens. I checked our find all reference implementation, and it uses
// same mechanism as error list, so it must be the find all reference window doing something to not lose focus or it must
// taking focus back once navigation happened. we need to implement same thing in error list. until then, I am disabling one
// click navigation.
if (!e.IsPreview)
{
roslynSnapshot.TryNavigateTo(index, e.IsPreview);
}
roslynSnapshot.TryNavigateTo(index, e.IsPreview);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册