All Projects → beansoft → React Native Console

beansoft / React Native Console

Licence: bsd-3-clause
🧩 an IDEA/WebStorm/Android Studio Plugin for One-Click run React Native commands in embed terminal

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to React Native Console

Codemaker
A idea-plugin for Java/Scala, support custom code template.
Stars: ✭ 440 (+176.73%)
Mutual labels:  idea-plugin
Compileflow Idea Designer
a good idea-plugin for Alibaba Compileflow engine.
Stars: ✭ 52 (-67.3%)
Mutual labels:  idea-plugin
Merge Request Integration
An Intellij IDE plugin which helps you manage Merge Request and do Code Review right in your IDE.
Stars: ✭ 122 (-23.27%)
Mutual labels:  idea-plugin
Multi Os Engine
Multi-OS Engine: Create iOS Apps in Java (or Kotlin ... etc.)
Stars: ✭ 529 (+232.7%)
Mutual labels:  idea-plugin
Mybatis Generator Plus
Idea plugin for mybatis generator. Provider UI and mapper auto merge.
Stars: ✭ 33 (-79.25%)
Mutual labels:  idea-plugin
Materialtabstemplate
MaterialTabsTemplate is solely created to reduce the burden of writing same boiler plate codes for Tab creation in Android.
Stars: ✭ 92 (-42.14%)
Mutual labels:  idea-plugin
Apkmultichannelplugin
[Deprecated] 🚀 Android 多渠道打包的 Android Studio / IDEA 插件
Stars: ✭ 352 (+121.38%)
Mutual labels:  idea-plugin
Flutter Snippets
An IntelliJ IDEA & Android Studio plugin that adds Live Templates to your IDE saving time writing the boilerplate in Flutter.
Stars: ✭ 136 (-14.47%)
Mutual labels:  idea-plugin
Spek Idea Plugin
Stars: ✭ 50 (-68.55%)
Mutual labels:  idea-plugin
Idea Conventional Commit
Context and template-based completion for conventional/semantic commits.
Stars: ✭ 115 (-27.67%)
Mutual labels:  idea-plugin
Easycode
基于IntelliJ IDEA开发的代码生成插件,支持自定义任意模板(Java,html,js,xml)。只要是与数据库相关的代码都可以通过自定义模板来生成。支持数据库类型与java类型映射关系配置。支持同时生成生成多张表的代码。每张表有独立的配置信息。完全的个性化定义,规则由你设置。
Stars: ✭ 552 (+247.17%)
Mutual labels:  idea-plugin
Intellij Figlet
🔌A FIGlet-based ASCII Art generation plugin for IntelliJ based IDEs.
Stars: ✭ 27 (-83.02%)
Mutual labels:  idea-plugin
Fastdex
🚀 加快 apk 的编译速度 🚀
Stars: ✭ 1,457 (+816.35%)
Mutual labels:  idea-plugin
Intellij Mybaitslog
用于在IDEA将Mybatis的SQL日志还原为可执行的SQL,Used to restore Mybatis SQL logs to executable SQL in IDEA,
Stars: ✭ 501 (+215.09%)
Mutual labels:  idea-plugin
Awesome Idea
IntelliJ IDEA资源一网打尽
Stars: ✭ 124 (-22.01%)
Mutual labels:  idea-plugin
Intellij Java2smali
A plugin for IntelliJ IDEA & Android Studio to easily compile Java & Kotlin files to smali.
Stars: ✭ 384 (+141.51%)
Mutual labels:  idea-plugin
Elementplugin
idea plugin for develop vue with element ui
Stars: ✭ 75 (-52.83%)
Mutual labels:  idea-plugin
Api Generator
Api Generator是一款可以自动解析Controller类抽取REST接口信息并自动上传YApi的IDEA插件。YApi好伴侣,从此维护文档再也不是事儿了!
Stars: ✭ 139 (-12.58%)
Mutual labels:  idea-plugin
Easy Yapi
Help you generate the API document to yapi
Stars: ✭ 127 (-20.13%)
Mutual labels:  idea-plugin
Idea Plugin Jpa Support
Generate entity/repositroy for JPA/Lombok/Spring Data JPA.
Stars: ✭ 114 (-28.3%)
Mutual labels:  idea-plugin

React Native Console

Node:

This branch contains the free version source code, also includes code that using the InlayProvider for display in code editor to show usages for a JavaScript function. you need add javascript-openapi.jar and JavaScriptLanguage.jar to project's classpath and mark it as provided.

My code mainly based on IJ source code at com.intellij.codeInsight.daemon.impl.JavaCodeVisionProvider, please using git history for what's added for this function.

Please using the react-native-console-free.jar to test in IJ Ultimate or WebStorm with a React or React Native project.

The preferences will show a JavaScript Inlay option for Usages.

Screenshot:


An IDEA/WebStorm/Android Studio Plugin for run React Native commands, the No.1 WebStorm / IDEA plugin for React Native developers.

https://plugins.jetbrains.com/plugin/9564-react-native-console

JetBrains Plugins Downloads Rating Vistor

Chinese Instruction Here

Installation

First, please setup your React Native dev env: https://facebook.github.io/react-native/docs/getting-started.html

Second, you can install it through your IDE, bring up Preferences > Plugins > Browse repositories... , search for 'React Native Console', then you can install this plugin there.

Or you can munally install jar file react-native-console.jar as a plugin to your IDE. And the plugin home page is here: https://plugins.jetbrains.com/plugin/9564-react-native-console

Now restart IDEA and enjoy!

Free version

Since I didn't have much time on the free version plugin, you can download and install from local disk: https://github.com/beansoft/react-native-console/releases/download/2020.3/react-native-console-free.jar

Note

Java 8 or plus required to run the IDE.

Settings(Optional, only need if js project dir can't be auto find)

Specify js project work directory rather than root directory, eg ./jsapp , now can from welcome screen or toolbar to edit this property. And the final value is stored in a file named .idea/.rnconsole, which content should like this:

{
  currentPath: './jsapp'
}

after that all npm commands will use this as the working dir.

Linux Users PLEASE README FIRST

If you found issue when click on the "Debug Android" button, error message: "SDK location not found ", please fix it like this : add a android local config file: yourapp/android/local.properties sdk.dir=/Users/xxxx/Documents/Java/android-sdk-macosx let sdk.dir point to your ANDROID_HOME environment if can't find adb, try this shell command:

sudo ln -s ~/Android/Sdk/platform-tools/adb /usr/bin/adb

More info please ref this issue: https://github.com/beansoftapp/react-native-console/issues/17

Features

  • open current Android activity source code in project
  • run React Native Debugger https://github.com/jhen0409/react-native-debugger(Mac Only)
  • Ctrl + F2 to reload android js bundle
  • list and run scripts in package.json
  • react-native run-android
  • list all connected android devices(includes simulator and physical) and run as target
  • react-native link
  • react-native run-ios
  • run on physical iOS device
  • list all iOS devices(includes simulator and physical) and run as target
  • npm run start
  • npm install
  • Open dev menu on Android device(adb shell input keyevent 82)
  • forward android device request to dev machine(adb reverse tcp:8081 tcp:8081)
  • Android Reloading JavaScript
  • open React Native debugger ui(Chrome browser required)
  • react-native log-android
  • react-native log-ios
  • gradlew assembleRelease
  • react-native bundle --platform android/ios --dev false
  • yarn
  • jest
  • react-native uninstall
  • react-native start
  • gradlew clean
  • react-native react-native-git-upgrade
  • yarn add project, dev, global dependencies
  • npm add project, dev, global dependencies
  • auto install and run react-devtools
  • Last Edit Location(main toolbar)
  • Reveal file in Finder/Explorer(main toolbar)
  • Reveal project folder in Finder/Explorer
  • Specify js project work directory, eg ./jsapp, from welcome screen or toolbar (optional, see https://github.com/beansoftapp/react-native-console for more info)
  • Modify Metro Bundler port(need React Native 0.56+)
  • Auto detect React Native package.json or build.gradle in current folder and parent/children folder(eg only coding Java in Android Studio), thus the command will auto execute in the correct folder

##Contributors

https://github.com/facebook/react-native/commit/33d710e8c58ef1dc69816a59ac1cf390894e7cb9

ScreenShot

Demo Gif

This project is developed using IntelliJ IDEA and WebStorm with a free JetBrains Open Source license.

jetbrains

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].