Cannot find 'Create groovy class' in 9.0

hi,

in idea 8 i remember that i could simply create groovy class and idea would add the class with proper file name and package directive. In 9.0 I cannot do so. I have to do 'Create file' and add the package and class statement  by hand.

How do I quickly create groovy artifacts in idea 9.0?

thanks.

2 comments
Comment actions Permalink

Hello manuel,

in idea 8 i remember that i could simply create groovy class and idea
would add the class with proper file name and package directive. In
9.0 I cannot do so. I have to do 'Create file' and add the package and
class statement  by hand.

How do I quickly create groovy artifacts in idea 9.0?


The action is still there, but it's visible only if your module has an attached
Groovy SDK. Does yours?

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

ok, attaching 'groovy-all-xxx.jar' to the global libraries made it work.

still, it would be more intuitive if groovy was added as a SDK (like Flex or AIR SDK) option instead of forcing the user to include groovy-all-xxxx.jar as library.

0

Please sign in to leave a comment.