Home > Net >  Duplicate characters when typing in VS 2022 .cs page
Duplicate characters when typing in VS 2022 .cs page

Time:09-26

I am typing only once a character but it automatic creates its duplicate.

In .cs or .vb code area whenever i type something it gets double.

example a will be aa if will be iiff

Even if I type enter it will add two lines instead of one and backspace and other keys are working in same manner.

When I am typing in .aspx page or anywhere else my keyboard works fine.

I tried few things to solve this like:

  1. code clean up, build, rebuild
  2. restart visual studio and pc

But still facing the same.

CodePudding user response:

Just do a repair on vs. This issue has cropped up over the years - even with previous versions. So, repair your install.

you can go tools->get tools and features.

You then get this:

enter image description here

Close above screen, and then you see this:

enter image description here

And from above, choose this:

enter image description here

so, usually a repair should fix this issue.

I suppose it possible you are remoting into the computer - and that could be a issue, but I suggest the above as a first step here.

  • Related