Reputation: 2072
Using Visual Studio 2019 Enterprise (v16) (with Resharper and StyleCop extension for Resharper installed) regularly has the following issues with the keyboard (many times per day).
The only way to temporarily resolve it is to close visual studio and re-open where it will work fine for 5-60 minutes before the problem reoccurs.
Steps taken:
None of these steps have resolved the issue. I have not yet tried uninstalling Resharper/Stylecop as I do require these for my every day work.
Has anyone seen/solved this problem before?
Upvotes: 5
Views: 3382
Reputation: 5279
This sometimes happens when an extension (typically a code analyzer) crashes with an exception (indicated by a status bar on top of the code window) while typing.
A workaround seems to be to open a pull-down menu, such as the File menu, and close it again.
I would call the resulting keyboard behavior a bug in Visual Studio, but the original cause is also always a bug in the extension you are using. You may therefore want to report it to both Microsoft and the developer of the extension. Note that this is my personal opinion. I do not work for Microsoft.
Upvotes: 5
Reputation: 2414
See the link from the ReSharper forums. This shows a workaround and a response. I also saw the empty document issue reported there too.
I'm going to give it a try or rollback if necessary.
Upvotes: 7