业务背景
在webstorm
中用wepy
开发小程序
在template
中使用view
标签后就会高亮提示
虽然不影响编译
但看着实在是烦啊
提示内容如下
问题
在webstorm
中怎么添加自定义的标签呢.没找到地方改呀
解决
- 不用添加自定义标签
-
只需要设置
不认识
的标签不进行提示即可- file -> settings -> editor -> inspections -> html -> unkown html tag, unkown html tag attribute
解决
只需要设置
不认识
的标签不进行提示即可