Skip to content

WeChat App plugin is Compatible with IntelliJ IDEA Ultimate, PhpStorm, PyCharm Professional, Rider, RubyMine, WebStorm, AppCode, CLion, GoLand

License

Notifications You must be signed in to change notification settings

zxj5470/wxapp-intellij

Repository files navigation

Wxapp Support

中文文档

JetBrains plugins JetBrains plugins

CI Status
AppVeyor (on Windows) AppVeyor Build status

Installation & Usage

Install IntelliJ IDEA Ultimate, PhpStorm, PyCharm, Rider, RubyMine, WebStorm, AppCode, CLion, GoLand (these ONLY supported!) open Settings | Plugins | Browse repositories, install Wxapp Support plugin.

Jetbrains官方的插件审核可能需要一点时间……体验最新特性的构建版本下载链接 To download a nightly build (buggy!), visit https://ci.appveyor.com/project/zxj5470/wxapp-intellij/build/artifacts/ .

Additional configuration

Code indentation

You'de better install the editorconfig plugin (2018 and later IDEA-U is built-in, but PhpStorm and WebStorm I'm not sure if it's built-in)

Detail see .editorconfig

Wxapp Code completion hint

All right, that's all right!

Relevant content

Compatibility

Because of the navigation for CSS, the minimum compatible version is 172.

Plugin Features and related solutions

  • js

    • Embedded wx.d.ts TypeDefinition file
    • Navigation: above All right, that's all right! in that picture, ctrl/command + left-click on the string content of url to jump to .js.
      • even if you write / pages/index/ index, you support jump. Of course, it is not recommended that you write this way.
    • Embedded Matchmaker plugin functions.
      • Alt + Insert or right-click Generate... | Make match
    • and modify to insert the corresponding function at the current cursor position. That plug-in is inserted directly after the Page({), this is Kichiku.
    • for yellow of semicolons:
  • wxml Navigation

    • {{ identifier }} ctrl/command + left-click => Jump to variable
    • bind***="functionName" Jump to the corresponding function
    • class='cls' Jump to ${currentPage}.wxssapp.wxss
    • Turn Off empty tag warning by Alt+Enter:
  • wxss

    • rpx:
      • Alt/Option + Enter,Turn Off inspection。

Pending……

  • wxml idnent
  • wxss class jump to wxml

ScreenShot

WXML

Keywords for wx:

WXSS

About

WeChat App plugin is Compatible with IntelliJ IDEA Ultimate, PhpStorm, PyCharm Professional, Rider, RubyMine, WebStorm, AppCode, CLion, GoLand

Resources

License

Stars

Watchers

Forks

Packages

No packages published