All Projects → permissions-dispatcher → Permissions Dispatcher Plugin

permissions-dispatcher / Permissions Dispatcher Plugin

Licence: apache-2.0
IntelliJ plugin for supporting PermissionsDispatcher

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Permissions Dispatcher Plugin

Svelte Intellij
Svelte components in WebStorm and friends
Stars: ✭ 345 (-50.99%)
Mutual labels:  intellij-plugin
Texify Idea
LaTeX support for the IntelliJ platform by JetBrains.
Stars: ✭ 436 (-38.07%)
Mutual labels:  intellij-plugin
Scabbard
🗡 A tool to visualize Dagger 2 dependency graphs
Stars: ✭ 615 (-12.64%)
Mutual labels:  intellij-plugin
Intellij Rainbow Brackets
🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio
Stars: ✭ 3,663 (+420.31%)
Mutual labels:  intellij-plugin
Gerrit Intellij Plugin
Gerrit Code Review Tool Integration for the IntelliJ Platform
Stars: ✭ 405 (-42.47%)
Mutual labels:  intellij-plugin
Intellij
IntelliJ plugin for Bazel projects
Stars: ✭ 500 (-28.98%)
Mutual labels:  intellij-plugin
Mybatis Log Plugin
Restore mybatis sql log to original whole executable sql.
Stars: ✭ 318 (-54.83%)
Mutual labels:  intellij-plugin
Ok Gradle
IntelliJ/Android Studio plugin for searching artifacts ids of popular Java libraries.
Stars: ✭ 664 (-5.68%)
Mutual labels:  intellij-plugin
Highlightbracketpair
🔆 Highlight bracket pair plugin for intellij
Stars: ✭ 428 (-39.2%)
Mutual labels:  intellij-plugin
Bashsupport
Bash and shell script language support for JetBrains IDEs. Please refer to www.bashsupport.com/news/bashsupport-pro-1.3/ for the reasons.
Stars: ✭ 588 (-16.48%)
Mutual labels:  intellij-plugin
Eclipsecodeformatter
IntelliJ plugin - Allows using Eclipse's code formatter directly from IntelliJ. https://plugins.jetbrains.com/plugin/6546-eclipse-code-formatter
Stars: ✭ 390 (-44.6%)
Mutual labels:  intellij-plugin
Stringmanipulation
IntelliJ plugin - https://plugins.jetbrains.com/plugin/2162
Stars: ✭ 400 (-43.18%)
Mutual labels:  intellij-plugin
Intellij Mybaitslog
用于在IDEA将Mybatis的SQL日志还原为可执行的SQL,Used to restore Mybatis SQL logs to executable SQL in IDEA,
Stars: ✭ 501 (-28.84%)
Mutual labels:  intellij-plugin
Idea Composer Plugin
PhpStorm plugin that adds code completion in composer.json file
Stars: ✭ 346 (-50.85%)
Mutual labels:  intellij-plugin
Intellij Platform Plugin Template
Template repository for creating plugins for IntelliJ Platform
Stars: ✭ 637 (-9.52%)
Mutual labels:  intellij-plugin
Intellij Plugin V4
An IntelliJ plugin for ANTLR v4
Stars: ✭ 318 (-54.83%)
Mutual labels:  intellij-plugin
Live Plugin
IntelliJ plugin for writing plugins at runtime
Stars: ✭ 464 (-34.09%)
Mutual labels:  intellij-plugin
Robopojogenerator
IntelliJ IDEA/Android studio plugin: Json to Java and Kotlin POJO (GSON, Logan Square, Jackson, FastJSON, AutoValue, Moshi)
Stars: ✭ 668 (-5.11%)
Mutual labels:  intellij-plugin
Intellij Solidity
Solidity plugin for IntelliJ
Stars: ✭ 646 (-8.24%)
Mutual labels:  intellij-plugin
Idea Php Laravel Plugin
Laravel Framework Plugin for PhpStorm / IntelliJ IDEA
Stars: ✭ 537 (-23.72%)
Mutual labels:  intellij-plugin

PermissionsDispatcher plugin

IntelliJ plugin for supporting PermissionsDispatcher.

PermissionsDispatcher is wonderful library for Runtime Permissions. However, it asks developers "attach annotations" and "delegate to generated class" and then after that "rebuild". It's hard to follow all steps correctly. This plugin generates the skelton of methods for "attach annotations" and "delegate to generated class" using GUI.

How to install?

Use the IDE's plugin manager to install the latest version of the plugin.

How to use?

Add dependencies (Optional)

  • Open build.gradle and Generate -> Add PermissionsDispatcher dependencies

(If you already add the dependencies, there is no 'Add PermissionsDispatcher dependencies' menu.)

dep

Generate Runtime Permissions codes

  • Open Activity/Fragment
  • Generate -> Generate Runtime Permissions...
  • Choose permissions and enter method names for each annotations
  • Click Generate button
  • Done!

pd

(It skips "rebuild" for making gif small, but it is highly recommended to rebuild after generating codes.)

Add a generation method call

  • Generate -> Add a generation method call
  • (If there is multiple choices, dialog asks which method you want to delegate)
  • Done!

add_delegation

Settings

You can change PermissionsDispatcher plugin from Preferences... > Other Settings > PermissionsDispatcher plugin

Rebuild

There are 3 behaviors for rebuilding project after generating PermissionsDispatcher code.

Type Behavior
Prompt (Default) Show dialog
Always Always rebuild without dialog
Not Always Does not rebuild

Supported PermissionsDispatcher version

License

Copyright 2017 Yoshinori Isogai

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].