How to attach my java code to my plugin project

Answered

I wrote a java code that truly run...and i want it be a plugin...how?

0
8 comments
Avatar
Permanently deleted user

Please help me...i dont now how i can create my plugin...my java code is ready.i want this code be a plugin

0

Please refer to https://www.jetbrains.com/help/idea/plugin-development-guidelines.html .

Place your Java code in the src (source root) of the plug-in project.

0
Avatar
Permanently deleted user

this is my plugin project...what is my wrong?what can i do???

0

Please clarify the problem.

0
Avatar
Permanently deleted user

Look...i never wrote a plugin project...i just wrote a java code...can you tell me how i can create a plugin project from first step?

0
Avatar
Permanently deleted user

i watched this video before...this video didnt show attaching java code to plugin project...my original java code has main class...i think in plugin project we should not have this class...

assume that i want wrote a plugin to say hello to user...its java code is very simple.just has a system out...but how i transform it to a plugin?

0

You either create an action which will trigger your code or you create a component that is executed at certain point (when IDE is started or when project is open), please refer to https://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_components.html#plugin-components-lifecycle for details.

0

Please sign in to leave a comment.