Getting project in which is plug-in imported

Hi,

I have searched through several of your posts about how to get current project and it seems somebody always finds some other way to solve the problem or misinterprets the question.

So the question is simple, is there any way to get Current project e.g project in which is my plugin used.... This needs to be done without invocation of any Action by the user. Preferably when project opens in IntelliJ so that, I will be able to store reference for project for later usage. 

In my plugin i will need to do some pre-processing before any action is fired up by user. I need to traverse through all classes and find methods/testMethods/etc... (just by keywords) and look for dependencies so i can store them and work with them after.

0

Please sign in to leave a comment.