I have used the toolkit to intercept certain commands in my extension.
When I add the code
await VS.Commands.InterceptAsync(VSConstants.VSStd2KCmdID.TAB, () => DoSomething();
await VS.Commands.InterceptAsync(VSConstants.VSStd2KCmdID.BACKTAB, () => DoSomething();
private static CommandProgression DoSomething()
{
return CommandProgression.Continue;
}
then items 3 and 4 in the Recent Project/Solution list are blanked out.
Can anyone explain that?
For now, I have solved this by adding my own IOleCommandTarget handler that intercepts these keys.