支持wpy
Preferences
- Editor
- File Types
选择Vue.js Template
,添加*.wpy
支持特殊标签
Preferences
- Editor
- Language Injections
添加XML Tag Injection
高亮config标签
Namespace
用http://www.w3.org/1999/html
高亮wxs标签
支持rpx
Preferences
- Tools
- File Watchers
添加custom
Program: sed
Arguments(macOS): -i "" s/"\ rpx"/rpx/g $FilePath$
Arguments(Windows): -i s/"\ rpx"/rpx/g $FilePath$
Output paths to refresh: $FilePath$
*如果是Windows需要先安装sed-windows,
Program
则换成sed
的安装路径