px2rem extensionpx转换rem,自动补全分号和注释。 First of all这个插件脱胎于px2rem +,但是由于加了注释以后需要手动移动光标加上分号不适合我的审美,于是将分号也自动补全了。 This is a extension inspired from px2rem + whitch provides the auto comments features.But I dislike that it do not auto complete semicolon. So, I fork it's source code and add this feature. AutocompleteSettingsSets the base pixel size of the current file. CommentsSupport for adding comments, e.g. Preserve leading zeroKeep the leading zero for converted values < 1. E.g. 0.5rem (preserved) vs .5rem (not preserved) Demo |