【微信小程序】webstorm开发微信小程序代码提醒(webstorm开发工具)

webstorm开发微信小程序代码提醒(webstorm开发工具)

使用了微信提供的开发工具是真心难用,卡顿厉害、中英文切写注释换相当不爽、还没办法多开窗口,相信大家也遇到过这种现象。

下边我们介绍下webstorm来开发微信小程序的一些配置:

File---settings点击出来以下页面

【微信小程序】webstorm开发微信小程序代码提醒(webstorm开发工具)

 

1.首先FileType下Cascading Style Sheet 添加*.wxss

【微信小程序】webstorm开发微信小程序代码提醒(webstorm开发工具)

1.png

2.FileType下HTML 添加*.wxml

【微信小程序】webstorm开发微信小程序代码提醒(webstorm开发工具)

2.png

3.将其中的wecharCode.jar下载下来,然后在webStorm 的 File -> import settings 中导入即可

【微信小程序】webstorm开发微信小程序代码提醒(webstorm开发工具)

3.png

配置已经完成,接下来你的代码就能出现微信小程序的代码提醒了。

【微信小程序】webstorm开发微信小程序代码提醒(webstorm开发工具)

4.png

打完收工,继续撸代码。



作者:Miaoz0070
链接:http://www.jianshu.com/p/00724ab30c89