The key combination (Ctrl+K, Ctrl+U) is linked to a command that is currently unavailable.

alice alice 40 Reputation points
2024-10-24T08:21:15.7866667+00:00

The key combination (Ctrl+K, Ctrl+U) is linked to a command that is currently unavailable.

I don't do anything, But Ctrl+K can work, sometime Ctrl+K can not work.

What should I do ?

It is a bug?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,228 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 31,416 Reputation points Microsoft Vendor
    2024-10-24T10:02:00.23+00:00

    Hello @alice alice,

    If you are talking about the keyboard shortcuts in Visual Studio, you can click Tools > Options > Environment > Keyboard and try to remove and then assign the related shortcut keys again.

    User's image

    Reset VS general settings might also work.

    Maybe also try (Ctrl + K, Ctrl +/), or simpler, (Ctrl +/) as a temporarily workaround.

    But I doubt if the key combination is interfered by other applications, extensions, keyboard or limitations...

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.