:::danger VSCode Extension is a third party plugin, and is not developed nor maintained by Apache Weex. :::
The VSCode extension mainly contains the following packages:
weex-new-project - used for creating weex project in VSCode.
weex-lang - support latest weex language for VSCode.
weex-doctor - check the iOS and Android develop environment on your platform.
weex-debugger - launch weex debugger terminal to debug your weex code.
weex-run - run iOS or Android project under VSCode (support hot reload).
You can install below packages by just install the
vscode-weex on VSCode Extension panel -> Install.
This extension is used for creating weex project under VSCode environment.
weex new project.
weex platform add android project
weex platform add iOS project
Weex language support for VSCode.
More detail you can see: vscode-weex-lang.
Extension for checking Weex develop environment.
Launch weex debugger terminal for VSCode.
More detail you can see: weexteam/weex-debugger
Runing iOS/Android/Web project under the VSCode.
Run iOS or Android APP make sure you have added native project (Path of which you
projectPath set), you can use weex-new-project add native project
If the run fails, You can try to check the environment by weex-doctor
iOS Environmental dependence:
XCode and open once
Android Environmental dependence:
Java SDK 1.8 (Windows need set Java home, guide),
Android SDK Platform 26 (Install by Android studio),
Android SDK Build-Tools 26 (Install by Android studio),
Android virtual device (Install by Android studio)
Debugging in the vscode editor breakpoint is not yet supported