This is where you’ll write your java/kotlin code. We’ll take a look into this file in more detail soon. It’s a configuration file where you can specify the Name of your plugin, the description of your plugin, you can specify the location/the group that your action would be a part of and much more. This is like AndroidManifest.xml (if you’re an android dev you’ll relate). This is a xml file where you have to declare all of your actions. Understanding the project structure Plugin.xml I’ve attached a screenshot of the same above. This will install the required dependencies for Kotlin/ Java and the plugin. On the left hand pane select Gradle as your build tool. IntelliJ Community Edition works just fine!įirst things first, create a new project in IntelliJ. But if you’re from a Java background then picking up Kotlin is child’s play.Īlso, for building a plugin in intellij, you’ll need to install IntelliJ on your computer. You’ll need some prior knowledge of Java/Kotlin for this tutorial. Show off: You can create something that everyone in your circle/org can use and make their lives easier. JetBrains has a marketplace for plugins where you can develop and publish your own plugin. Figure out what you do on a daily basis inside Android Studio/ IntelliJ IDEA/ Webstorm or any intellij based product and figure out how you can solve it with a plugin.Įarn a quick buck: This might not be the most exciting of the ways available, but you can make a quick buck if your plugin takes off. You can probably use it to automate some of your mundane tasks. I’ve used intellij plugin to automate my builds on Jenkins and Bitrise. 3 – Persisting State (Storage)Īutomate the boring stuff: That’s the sole reason why I use intellij plugins. IntelliJ Plugin Development Tutorial Pt. You can find the next parts of the series here: And since Android Studio is also built on IntelliJ, it can be used in Android Studio as well. In this intellij plugin development tutorial, we’ll be taking a look at how to build a simple plugin for IntelliJ.
0 Comments
Leave a Reply. |