
Everything that you see on the images below are actions. There are different elements that we can use in our plugin, we will see all of them in future articles but for now we will focus on the most commonly used, actions.Īn action is basically what happens when you click on a toolbar or a menu item. If you can’t wait for the other articles to see which other attributes you can use, then please head up to for more information.
#ANDROID STUDIO KEYCASTR PLUGIN ANDROID#
intellij īy using alternativeIdePath and pointing to our local installation of Android Studio we are telling the gradle-intellij-plugin to use Android Studio whenever we run our plugin or debug it instead of using the default IntelliJ IDE. We obviously want to test our plugin on Android Studio so to tell the gradle-intellij-plugin that we want to use Android Studio we have to add a new attribute.Īnd this is how our intellij section looks like now in our adle file. If we want to debug the behaviour of our plugin right now, what’s going to happen is that a new instance of IntelliJ will spin up an we will have to do our debugging/testing there. Our plugin as we have it now it’s only debuggable on IntelliJ IDEA CE. Find out what to look for in the latest version of Android Studio, including support for Kotlin, Java 8, and a wealth of new tools and plugins. The only attribute that we have right now, version, it is specifying the version of the IDEA distribution that should be used as a dependency.īefore we move on, I’m going to add another attribute to the intellij section. A modern, open source text editor that understands web design. A powerful desktop app for creating responsive websites using the Bootstrap framework. Beautiful, flexible writing app for crafting notes and prose.

This is the place where we will add more attributes as we need them like plugin dependencies, etc. Hackable text editor for the 21st century made by GitHub Atom Plugins. Secondly we have a new section called intellij. Like in any of your Android projects you can use any libraries that you want, just be careful with the libraries that you put here because this is NOT an Android project. You can use kapt though if you need it for any kind of annotation processing (Dagger I’m looking at you). We will be coming back to this file when we start adding more dependencies and so on but for now I’m just going to focus on two things.įirst of all you can see that our dependencies uses compile instead of implementation/api, the main reason is because the gradle-intellij-plugin doesn’t support implementation or api just yet.

Everything here looks really familiar because we are used to gradle in our Android projects.
