Margame / css-x-fire

Automatically exported from code.google.com/p/css-x-fire
0 stars 0 forks source link

make the module #28

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I have check out the source of css-x-fire,and import into my idea as a plugin 
module, when make module,the messages shows 
Z:/pm/css-x-fire-read-only/src/com/googlecode/cssxfire/CssUtils.java:31: 
software     com.intellij.psi.css.impl.util not exist. in addition, I can't 
find the class in the global intellij sdk source.I don't understand why

What is the expected output? What do you see instead?
I expect make module successful.But the class CssUtil not exist.

What version of the product are you using? On what operating system?
css-x-fire 1.23, intellij idea ultimate 11 RC, windows7

Original issue reported on code.google.com by liningh...@gmail.com on 5 Dec 2011 at 4:58

Attachments:

GoogleCodeExporter commented 8 years ago
This plugin depends on the CSS plugin bundled with Intellij IDEA. You need to 
add css.jar to the Plugin SDK. It is located in C:\Program Files 
(x86)\JetBrains\IntelliJ IDEA x.x.x\plugins\CSS\lib.

The best thing is to open the project from CSS-X-Fire.ipr instead of creating a 
new plugin module. The ipr file contains information needed for the packaging 
of the plugin.

Also, if you want to compile a plugin that works for older IntelliJ versions 
you should use an older version of IntelliJ in you plugin SDK. I use 9.x (also 
specified in the ipr) and the released plugin works for IntelliJ 8-11.

Original comment by ronnie.k...@gmail.com on 5 Dec 2011 at 8:17

GoogleCodeExporter commented 8 years ago
Thank you for the reply. I have a try,the plugin is very great.

Unfortunately in my team only very little people working with intellij idea,The 
vast majority of people has use eclipse ide,so I can develop this plug-in 
version of eclipse ?

what about the plan in your opinion?

Original comment by liningh...@gmail.com on 5 Dec 2011 at 9:34

GoogleCodeExporter commented 8 years ago
Ok. This IDE plugin relies on several IntelliJ OpenApi components:
* The PSI[1] structure for resolving rules and applying the changes to the 
actual code.
* The Action System[2] for buttons and stuff.
* Application and Project Components[3] for handling and distributing the 
incoming changes to each project, and for storing the settings.

I'm not good with Eclipse development but if you can port the above stuff the 
rest should be quite generic. Good luck!

[1] 
http://confluence.jetbrains.net/display/IDEADEV/IntelliJ+IDEA+Architectural+Over
view#IntelliJIDEAArchitecturalOverview-PSIElements
[2] http://confluence.jetbrains.net/display/IDEADEV/IntelliJ+IDEA+Action+System
[3] 
http://confluence.jetbrains.net/display/IDEADEV/IntelliJ+IDEA+Plugin+Structure#I
ntelliJIDEAPluginStructure-PluginComponents

Original comment by ronnie.k...@gmail.com on 5 Dec 2011 at 10:04