Why are Backspace, Enter, Navigation keys not working while editing any file in Visual Studio?

Apurva Kamshetty 25 Reputation points
2023-02-23T04:57:49.38+00:00

I am using Visual Studio Extensions, while creating a new solution through extension for the first time, we are only able to type alphabets. Backspace, Enter, Navigation keys are not working while editing any file.
But when we force close the solution, and reopen the editing is working as expected. I've tried various solutions from various forums, but nothing works. Please help me find a solution.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,676 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,363 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
178 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 26,481 Reputation points Microsoft Vendor
    2023-02-23T09:10:31.8466667+00:00

    Hi @Apurva Kamshetty, 

    Welcome to Microsoft Q&A! 

    Which version of Visual Studio are you using? Does it occur in other projects? 

    Please reset keyboard mapping scheme by going to Tools > Options > Environment > Keyboard > click on ‘Reset’ > OK.

    Meanwhile, you can try to repair your Visual Studio.

    Sincerely,

    Anna


    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.

    3 people found this answer helpful.

  2. Fred Klein 5 Reputation points
    2023-12-06T13:19:11.1733333+00:00

    I am experiencing the same issue (VS 17.8.2). When it happens, any other app is still responding correctly to those keystrokes. Quitting VS and starting over solves the issue temporarily.

    1 person found this answer helpful.
    0 comments No comments

  3. Lisarte Barbosa 0 Reputation points
    2023-12-07T19:04:29.98+00:00

    I have VS 17.8.3, and it also happens to me. Te restart fix presented previously only endures for one use of space or one enter. Visual Studio is completely unusable now. The reset Keyboard fix provided by @Anna Xiu-MSFT didn't do anything at all.


  4. Johan Heyvaert 0 Reputation points
    2023-12-20T08:13:25.4266667+00:00

    Same problem here with VS 2022 v17.8.2..

    When closing VS I get this confirmation dialog (cf. attached screenshot. So some operation is blocking user input. But I don't see any open dialogs or task.
    The only thing I did in this VS session is connect and authenticate to GIT (Azure Devops), which happens in a dialog. Oh and now I remember that this dialog was showing javascript error messages (at least 3 times). Sorry, didn't take a screenshot of those. Maybe it's related to this keyboard issue.