Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Converting Eclipse plugin to Intellij

I have an eclipse plugin which I want convert to an intellij plugin. Is there a quick way to do that. What will be the design patterns I can use?

like image 637
fastcodejava Avatar asked Sep 07 '10 11:09

fastcodejava


People also ask

Can I use Eclipse plugin in IntelliJ?

Import an Eclipse project to IntelliJ IDEAYou can import either an Eclipse workspace or a single Eclipse project. To do this, click Open on the Welcome Screen or select File | Open in the main menu.

How do I Import an Eclipse project into IntelliJ?

From the main menu, select File | New | Module from Existing Sources. In the dialog that opens, select the directory in which your sources, libraries, and other assets are located and click Open. Select Import module from external model | Eclipse and click Next.

How do I make my Eclipse look like IntelliJ?

In Eclipse, go to Window->Preferences, and select General->Appearance. You can change the font in there. I don't know what IntelliJ uses, but you can probably look it up in IntelliJ, and just match it.

Can I use IntelliJ instead of Eclipse?

A: Eclipse is better than IntelliJ for large and complex projects. This is because it indexes the entire project during startup. IntelliJ IDEA, however, outshines Eclipse when it comes to dealing with existing projects. In this case, IntelliJ IDEA delivers better performance than Eclipse.


2 Answers

I think there is no simple and quick way to do this. You need to deeply undestand plugin structure and plugin API of Eclipse and IDEA

like image 82
qwazer Avatar answered Oct 18 '22 20:10

qwazer


  1. first you need fully understand the plugin your are porting.

  2. setup intellij plugin development environment. http://www.jetbrains.org/display/IJOS/Writing+Plug-ins

  3. understand intellij architecture: http://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+Architectural+Overview

  4. read Getting started with plugin development: http://confluence.jetbrains.com/display/IDEADEV/Getting+Started+with+Plugin+Development http://www.youtube.com/watch?v=AktCFxC9Bx0

  5. the sourcecode of intelliJ is very helpful when your need documentation of some functions or classes.

  6. a plugin sourcecode: https://github.com/whunmr/emacsIDEAs

like image 4
whunmr Avatar answered Oct 18 '22 19:10

whunmr