【Webstrom】配置uniapp、微信

2019-08-23  本文已影响0人  大Q本Q

webstrom中wxml、wxss代码高亮

  1. Preferences-Editor-File Types
  2. 添加wxml支持


    image.png
  3. 添加wxss支持


    image.png

webstrom格式化样式后,rpx前多一个空格

  1. Preferences-Tools-File Watchers
image.png
image.png
  1. 格式化后,rpx短暂出现空格,随后马上自动消失

webstrom中rpx提示错误,飘红

  1. Preferences-Editor-Inspections-CSS-Invalid elements
  2. Invalid CSS property value去掉勾选

webstrom写uni-app时,view、image、cover-view、cover-image不识别,且属性class、src等不识别

  1. Preferences-Editor-Inspections-HTML
  2. 标签不识别:Unknown HTML tag中加入标签名


    image.png
  3. 属性不识别:Unknown HTML tag attribute中加入属性名


    image.png
上一篇 下一篇

猜你喜欢

热点阅读