Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1.28 KB

DEVELOP.md

File metadata and controls

36 lines (31 loc) · 1.28 KB

Run/Debug

  • Open project in intellij
  • Create gradle.properties file, use instruction
  • 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 runIde Create debug configuration
  • hit debug button as usual

Running from command line

  • Create gradle.properties file, use instruction
  • Execute command
  ./gradlew buildPlugin runIde

Create new menu item

  • Add entry to plugin.xml inside actions tab (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.kt like this
        addAction("com.developerphil.adbidea.action.NewAction", group)