Giter VIP home page Giter VIP logo

smallhelper-idea-plugin's Introduction

SmallHelper

为插件化框架 Small 建立页面索引和快速跳转

Small简介

Small 通过路由表 bundle.json 配置页面路由,从而达到模块间的解耦。 see Small/wiki/UI-route

以跳转 (detail模块)的 MainActivity 为例:

路由表 bundle.json 调用处 xxx.java 声明处 pkg/xxxActivity.java
"uri": "detail" Small.openUri("detail"); (detail模块) MainActivity.java

识别隐式依赖, 建立页面索引

screen-record/small.gif

安装使用:install

  1. Preference -> Plugins

    • Browse repos SmallHelper: 插件需要2~3天审核,暂时应该还搜不到
    • Install Plugin From Disk: 下载 SmallHelper-1.0.1.zip,本地安装
  2. clone Small demo -> 打开 Android 工程 Small/Android/Sample 进行体验

源码调试: clone && run

如果您对源码感兴趣的话:

  1. clone 本项目
  2. 命令行执行 ./gradlew runIde

bug 反馈

如果您在使用中遇到bug, 请务必提Issue,附上IDEA版本以及错误栈信息

感谢

官方文档

官方源码案例

官方gradle-intellij-plugin

smallhelper-idea-plugin's People

Contributors

fashare2015 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.