Open L33Z22L11 opened 1 month ago
v2.0.28
1.92.0
3.4.36
5.5.4
System: OS: Windows 11 10.0.22631 CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics Memory: 2.62 GB / 15.86 GB Binaries: Node: 22.5.1 - C:\Program Files\nodejs\node.EXE npm: 10.8.0 - C:\Program Files\nodejs\npm.CMD pnpm: 9.7.0 - ~\AppData\Local\pnpm\pnpm.CMD Browsers: Edge: Chromium (127.0.2651.74) Internet Explorer: 11.0.22621.3527
<template> <div class="class1 classname" /> </template> <style scoped> .class1 {} </style>
class1
class12
class 12
class122
No response
Only when the length of the new class name is longer than that of the old one is renaming permitted.
Vue - Official extension or vue-tsc version
v2.0.28
VSCode version
1.92.0
Vue version
3.4.36
TypeScript version
5.5.4
System Info
Steps to reproduce
class1
toclass12
.What is expected?
class1
is renamed toclass 12
.What is actually happening?
class122
.Link to minimal reproduction
No response
Any additional comments?
Only when the length of the new class name is longer than that of the old one is renaming permitted.