提交 394209b7 编写于 作者: H Heejae Chang

fix error list navigation

in preview 5, error list navigation behavior has changed. this tweak roslyn side to accommodate the behavior change.

bug - https://devdiv.visualstudio.com/DevDiv/_workitems?id=284073&_a=edit
上级 45c60ede
......@@ -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.
先完成此消息的编辑!
想要评论请 注册