cipchk/vscode-cssrem

[Bug] px -> vw function failed

Dev-Hogan opened this issue · 5 comments

Use px -> vw (Shortcut key: Alt + v, Alt + w) function failed. Even if you change the setting to true."cssrem.vw": true still no use.
Hope it will improve soon

cipchk commented

Sorry, busy work, can you provider your env?

I had the same problem

My version of visual studio code is 1.81.1 (Universal), and operation system is Apple.My problem is that the unit will still be px after using the shortcut key(Option + V, Option + W), and the value will become larger.

For example, when developing a mobile project using iPhone 6/7/8 as a template, 1vw=3.75px. When I want to convert 10px to vw units, it should be 10/3.75=2.6666 vw. However, when using the shortcut keys alt+v, alt+w, it will become 10 * 3.75=37.5. Other functions are fine, but there is a bug at this point

cipchk commented

Fixed by 3.1.1.