language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

代码提示错误覆盖结束括号

Open llk2yq opened this issue 10 months ago • 7 comments

很抱歉不能用英文来提问题,因为问题有点奇怪(不确定是否是这个插件的问题还是vscode的问题):

首先输入一个div(或者是其它任意标签): image

然后尝试给这个div设置一个class: image

这时候会出现代码提示如上图,如果在代码提示出现的时候就 快速 地按回车, 预期结果: image 实际结果(删掉或者说覆盖掉了一个>): image

经过多次测试,我发现当代码提示出现时,立即按回车,则很容易复现。相反,当代码提示出现时,过几秒再按回车,则出现这个问题的概率就小得多。 另外,此问题仅出现在.vue文件中,.html文件中不管是否启用本插件,都不会出现此问题。

环境:vscode 1.88.1 插件只装了两个,分别是中文插件,以及当前插件。

llk2yq avatar Apr 24 '24 08:04 llk2yq

me too

wlonghaha avatar Apr 25 '24 16:04 wlonghaha

時好時壞,要慢慢地敲打就可以了

Shyam-Chen avatar Apr 26 '24 08:04 Shyam-Chen

I haven't encountered this issue

cvpv avatar May 15 '24 01:05 cvpv

windows下 我也有这个问题

yulin96 avatar May 16 '24 01:05 yulin96

me too

liweiook avatar May 21 '24 05:05 liweiook

This problem happens all the time, and it always eats a character in the back.

shell-well avatar Jul 04 '24 01:07 shell-well

我几乎每天都会遇到此问题,越大型的项目遇到的情况越多,并且似乎只在windows下发生。 I run into this problem almost every day, more often with larger projects, and it only seems to happen on Windows. Recording 2024-07-18 at 10 45 49

yulin96 avatar Jul 18 '24 02:07 yulin96

Hey there, as there have been many fixes in the last 2.x versions: Please let us know if you're still encountering this issue. Otherwise kindly close this one, thanks!

davidmatter avatar Aug 07 '24 07:08 davidmatter