Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.11 KB

DEVELOP.md

File metadata and controls

35 lines (28 loc) · 1.11 KB

Run/Debug

  • Open project in intellij
  • Open edit configurations to create a new run/debug configuration
  • Choose a new gradle configuration and name it build and run that runs ./gradlew buildPlugin runIdea Create debug configuration
  • hit debug button as usual

Running from command line

./gradlew buildPlugin runIdea

Create new menu item

  • Add entry to plugin.xml (below line 100)
        <action id="com.developerphil.adbidea.action.NewAction"
                class="com.developerphil.adbidea.action.NewAction"
                text="New Action"
                description="Playing with the plugin">
        </action>
  • Create and implement a new NewAction class that extends from AdbAction (you can create that from the plugin view, right click on the class name and choose create class
  • implement its abstract methods
  • add new entry in QuickListAction.java like this
    addAction("com.developerphil.adbidea.action.NewAction", group);