鍍金池/ 問(wèn)答/HTML/ [已解決]webstorm中如何設(shè)置自定義html標(biāo)簽

[已解決]webstorm中如何設(shè)置自定義html標(biāo)簽

業(yè)務(wù)背景

webstorm中用wepy開發(fā)小程序
template中使用view標(biāo)簽后就會(huì)高亮提示
雖然不影響編譯
但看著實(shí)在是煩啊

提示內(nèi)容如下

clipboard.png

clipboard.png

問(wèn)題

webstorm中怎么添加自定義的標(biāo)簽?zāi)?沒找到地方改呀

解決

  • 不用添加自定義標(biāo)簽
  • 只需要設(shè)置不認(rèn)識(shí)的標(biāo)簽不進(jìn)行提示即可

    • file -> settings -> editor -> inspections -> html -> unkown html tag, unkown html tag attribute
回答
編輯回答
嫑吢丕

解決

  • 不用添加自定義標(biāo)簽
  • 只需要設(shè)置不認(rèn)識(shí)的標(biāo)簽不進(jìn)行提示即可

    • file -> settings -> editor -> inspections -> html -> unkown html tag, unkown html tag attribute
2018年3月1日 18:16