[solved] how to set custom html tags in webstorm

Business background

using wepy to develop Mini Program
in webstorm
after using the view tag in template , it will highlight
, although it does not affect the compilation
, but it looks really annoying

.

the prompt is as follows

clipboard.png

clipboard.png

question

how to add custom tags in webstorm . I can"t find a place to change it

solve

  • No need to add custom tags
  • you only need to set tags that do not recognize without prompting

    .
    • file-> settings-> editor-> inspections-> html-> unkown html tag, unkown html tag attribute
Mar.04,2021

solve

  • No need to add custom tags
  • you only need to set tags that do not recognize without prompting

    .
    • file-> settings-> editor-> inspections-> html-> unkown html tag, unkown html tag attribute

adding custom tags is also found in file-> settings-> editor-> inspections-> html. The check function of
Webstorm is useful, otherwise it will not be developed, for example, it sometimes affects code formatting. So it is recommended to add custom tags.
there are two current problem solutions:
1, image.png
2, skip checking unknown elements and attributes, but encounter problems in the development of other frameworks.

but at present, the rpx unit can only ignore the check and cannot customize the unit of measurement for the time being. We should pay attention to

when formatting the code.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e44816-437e9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e44816-437e9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?