Duplicate chars in vs2022 code window #14206
Replies: 16 comments 27 replies
-
Same here, at least I'm not crazy |
Beta Was this translation helpful? Give feedback.
-
I have 4 in mine. Happens in cshtml files |
Beta Was this translation helpful? Give feedback.
-
Have same issue. In cshtml file in VS 2022 I get double letters, inside an @ code block I get quadruple. |
Beta Was this translation helpful? Give feedback.
-
@Pretagonist I don't think it's a problem with ReSharper. I'm not using ReSharper in my VS2022. |
Beta Was this translation helpful? Give feedback.
-
A workaround for now is turning off "Enable for HTMLProjection" and reopening your .cshtml file. |
Beta Was this translation helpful? Give feedback.
-
The problem was only in typing code and I uninstalled liveshare and github copilot from extensions on a fresh install of Visual Studio 2022 17.3.1. For Visual Studio Info please see below
System Basic Info is
|
Beta Was this translation helpful? Give feedback.
-
Can re-create the problem by typing an underscore which enables it. Only impacted html pages in my experience. |
Beta Was this translation helpful? Give feedback.
-
Its opening a solution and you can use starter mvc template and open a chtml view file to edit it. |
Beta Was this translation helpful? Give feedback.
-
I subscribed and just hit this issue myself, just not going to be addressed after it's out of beta and a product we're subscribing to? |
Beta Was this translation helpful? Give feedback.
-
This works for anyone still facing this issue in 2023 For my specific issue, I’ve found that disabling “Auto list members” under [Options>Text Editor>HTML>General] seems to resolve the issue. |
Beta Was this translation helpful? Give feedback.
-
I am seeing it only within script tags in aspx pages. Anywhere outside of the script tag is fine. VS 2022 17.6.2 with or without CoPilot enabled. Very frustrating.. |
Beta Was this translation helpful? Give feedback.
-
I've just encountered it here. I found this stackoverflow post: Which pointed out that it only happens after line 89 - and low and behold on my system it's exactly the same. Fine until line 89...
Weird! |
Beta Was this translation helpful? Give feedback.
-
as @paulsplace issue, same here. Only in my case, I need to use razor syntax in cshtml, so this is frustrating as I cannot just move a piece of code below everything else when it's needed right where it is being used. |
Beta Was this translation helpful? Give feedback.
-
See this - looks like MS are aware of it and there is a fix incoming: |
Beta Was this translation helpful? Give feedback.
-
It started to happen again in 17.12 |
Beta Was this translation helpful? Give feedback.
-
Hi,
I've a strange problem in one of the code windows of vs2022.
With the GitHub Copilot activated, every time I press a key, six chars are typed, like this example "ddddddeeeeeebbbbbbuuuuuugggggg".
This problem just happens in one of my code files (asp.net mvc, .cshtml, net framework 4.6.1). Other cshtml files work fine.
Regards
Jose
Beta Was this translation helpful? Give feedback.
All reactions