Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

aerogear-attic/aerogear-mobile-intellij-plugin

Repository files navigation

aerogear-mobile-intellij-plugin

Introduction

IntelliJ Platform plugin for Aerogear Mobile services on OpenShift.

Installation

  1. Download the zip file from the page with a list of released versions
  2. Install the plugin (in Android Studio, IntelliJ IDEA, etc.) through Preferences -> Plugins -> Install plugin from disk and by selecting the zip file
  3. You will need to restart the IDE to enable the plugin

Architecture

IntelliJ Integration

The plugin is integrated into the IntelliJ IDE with a tool window. See package org.aerogear.plugin.intellij.mobile.ui.

Mobile cli

The aerogear-mobile-intellij-plugin relies on the Aerogear mobile-cli to communicate with your Openshift cluster.

Build (and develop!) the Plugin

It's very easy to set it up as an IntelliJ project.

  1. Download the Aerogear mobile-cli and add to path.
  2. Activate plugins Gradle, Plugin DevKit and UI Designer in IntelliJ.
  3. git clone https://github.com/aerogear/aerogear-mobile-intellij-plugin.git
  4. Open checked out project in IntelliJ ("File" -> "New" -> "Project from Existing Sources" -> select file build.gradle in aerogear-mobile-intellij-plugin folder and press "OK")
  5. Create a new run configuration: "Gradle" -> "Gradle project": select the only project -> "Tasks": "runIde"
  6. Press "Debug" button. IntelliJ should start with a clean workspace (development sandbox). You need to checkout a project to see changes (it shows only changes for Git repositories that are set up in current workspace by default).

Once build.gradle gets updated, you need to "Refresh all Gradle projects" in the Gradle panel.

Run the plugin tests

  1. Ensure that the Gradle plugin is enabled and properly configured in IntelliJ as detailed above.
  2. Open the Gradle panel and run the task test under "Tasks" -> "Verification" -> "test"

Contributing

Check the CONTRIBUTING.md file.