Tools
File Watchers
+
//windows系统 -i s/" rpx"/rpx/g $FilePath$ //MacOS系统 -i "" s/" rpx"/rpx/g $FilePath$
参考至WebStorm格式化代码,微信小程序rpx出现空格问题