Not able to add a class to a project

Hi,

I have created a project programmatically and added a module to it.
I have set the jdk path for both module as well as project. I have the set
the source path,compiler path,content entry path for the module. When I run
the plugin, I can see the correct tree structure in project view but I am
not able to see new Class on right click of the project folder. It allows me
to add only File and Directory.

Can someone provide me more pointers, if I am missing anything?

Regards,
Priya


1 comment
Comment actions Permalink

Hello Priya,

You need to specify the source folders for the module. The "New Class" and
related actions are only shown for a source folder.

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"

P> Hi,
P>
P> I have created a project programmatically and added a module to it.
P> I have set the jdk path for both module as well as project. I have
P> the set
P> the source path,compiler path,content entry path for the module. When
P> I run
P> the plugin, I can see the correct tree structure in project view but
P> I am
P> not able to see new Class on right click of the project folder. It
P> allows me
P> to add only File and Directory.
P> Can someone provide me more pointers, if I am missing anything?
P>
P> Regards,
P> Priya


0

Please sign in to leave a comment.