支持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的安装路径

效果

Be the first person to leave a comment!