runem / lit-analyzer

Monorepository for tools that analyze lit-html templates
MIT License
314 stars 35 forks source link

[vscode-lit-plugin] Auto close tag does not work anymore in lit-template #325

Closed cWenyu closed 9 months ago

cWenyu commented 9 months ago

Hi,

I recently found the lit-plugin v1.3.0 does not auto close tag, I recorded two small videos to show the difference between vs code 1.76.2 and 1.82.2. However, vscode-lit-plugin does not work as expected in version 1.76.2 either, only the first element is auto-closed and the second one does not.
Please let me know if you need more information.

Visual Studio version: 1.82.2

https://github.com/runem/lit-analyzer/assets/45832472/bbb907c9-c3b6-4e01-84ee-2014e069c3d0

Visual Studio version: 1.76.2

https://github.com/runem/lit-analyzer/assets/45832472/e74b1590-eff0-4f85-b445-bbd15fc93976

Best regards

cWenyu commented 9 months ago

update typescript to v5.2.2 would solve the issue.

damooo commented 6 months ago

It still doesn't work after typescript update.

cWenyu commented 6 months ago

Have you checked on different versions of vscode?