Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recent Projects/Solutions get deleted when Command is intercepted #515

Open
RobertvanderHulst opened this issue Sep 26, 2024 · 0 comments
Open

Comments

@RobertvanderHulst
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant