Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write an IntelliJ IDEA Plugin?

IDEA has many plugins to use. I.e. IDEtalk is one of them which I use. How can I code a simple plugin that just connects to Internet and shows a web page? (no need for an address bar but it is not a problem to be). I want my plugin's shortcut's button locate at my IDE as like IDEtalk, Commander, Maven Projects etc.

Any ideas?

like image 351
kamaci Avatar asked Oct 21 '11 06:10

kamaci


People also ask

What programming language is IntelliJ IDEA written?

Though designed primarily for Java development, IntelliJ IDEA understands many other programming languages, including Groovy, Kotlin, Scala, JavaScript, TypeScript, and SQL, and it provides smart coding assistance for each of them.

How do IntelliJ plugins work?

Plugins extend the core functionality of IntelliJ IDEA. For example, install plugins to get the following features: Integration with version control systems, issue trackers, build management servers, and other tools. Coding assistance support for various languages and frameworks.

How do I create a code in IntelliJ?

Create a package and a classIn the Project tool window, right-click the src folder, select New (or press Alt+Insert ), and then select Java Class. In the Name field, type com.example.helloworld.HelloWorld and click OK. IntelliJ IDEA creates the com.example.helloworld package and the HelloWorld class.


2 Answers

Check the documentation and the source code of the other plug-ins available in the public git repository of the Community Edition.

like image 144
CrazyCoder Avatar answered Sep 19 '22 15:09

CrazyCoder


There is a Creating Your First Plugin guide on JetBrains web site. It covers all the needed steps from plugin creation to deployment to the plugin repository.

You might also want take a look in the source code of a simple plugin like Twitter Integration Plugin which I recently implemented. Or check a more complex one like this one.

like image 39
Sasha Shpota Avatar answered Sep 18 '22 15:09

Sasha Shpota