If you do not know nothing about the Intellij Idea plugin development flow, you should read an article about it Intellij Idea plugin developvent. The begining.
Another way - let's start to get ready our environment.
Preconditions.
Another way - let's start to get ready our environment.
Preconditions.
- Java 1.7
- IntelliJ IDEA Community Edition or Ultimate.
Getting sources.
To get started is to download the source community version of the IDE, it will take quite a lot of time.
Repository: git:/ / git.jetbrains.org / idea / community.git
Action is optional but highly advisable because here we find java docks of interest classes and methods, as well as ready-made source plugins (almost all of the code below, I peeped in them).
Creating the project.
Create a plug-in project: File -> New Project
Select the point IntelliJ Platform Plugin
If your project SDK is empty - push the "New" button and select the folder where Intellij Idea installed.
Now you should add downloaded Idea sources into project sourcepath.
Go to the project structure (File -> Project Structure) and on Sourcepath add the sources.
Well, now we have newly created plugin project.


Nice start!
ReplyDelete