
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:
But still facing the same.
I had a similar issue in a .cshtml file. I discovered that I was trying to add a jquery event underneath a method that contained an @ symbol (which is used to switch between markup and code). In this case it was @Url.Action. My workaround was to move the method containing the @Url.Action to the bottom of the script block and I was then able to type freely above it without any duplicate characters.
e.g. With @Url.Action above my code:

With @Url.Action below my code:

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:

Close above screen, and then you see this:

And from above, choose this:

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.
Go to settings, from Setting select Options, from Options select Text Editor, from Text Editor Select HTML, from HTML Select General, from General Disable Auto List Members. A change of this setting has been confirmed to be a fix.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With