zxj5470 / wxapp-intellij

WeChat App plugin is Compatible with IntelliJ IDEA Ultimate, PhpStorm, PyCharm Professional, Rider, RubyMine, WebStorm, AppCode, CLion, GoLand
GNU General Public License v3.0
88 stars 10 forks source link

how to import to webstorm #1

Closed kevinten10 closed 5 years ago

kevinten10 commented 6 years ago

Looking forward to your product

zxj5470 commented 6 years ago

see release. https://github.com/zxj5470/wxapp-intellij/releases 如果需要智能提示微信的 js API 可以看另一个项目 wx.d.ts 。添加 d.ts 作为 library。在设置里面搜索libraries然后添加进global然后各种wx.方法就能用了。

aojie654 commented 6 years ago

@zxj5470 请问您是使用idea进行微信小程序开发的吗? 如何使用webstorm进行导入呢?

zxj5470 commented 6 years ago

@aojie654 加载插件……下载 wxapp-intellij.jar 了以后 去设置里面的plugin点加载本地包 或者 直接在运行的webstorm里面把插件文件 【拖进编辑面板的部分】就可以了。

然后如果之前有绑定过.wxml和.wxss的文件类型为html和css的话需要重新绑定一下文件类型为.wxml和.wxss。有空我考虑一下这周末把文档补上……

liu-xinhui commented 5 years ago

image image 插件安装了,wxss和wxml也重新绑定的,依然报错

zxj5470 commented 5 years ago

image image 插件安装了,wxss和wxml也重新绑定的,依然报错

@liunewshine 这个问题我另开文档或者写到readme里面。alt+enter关掉就行了。

zxj5470 commented 5 years ago

由于已经上架 JB 插件,关闭本issue