Ann: Scala Application runner plugin

Hi all,

I made a small plugin that creates run configurations for scala objects. This might be useful to people that use for example specs or some other framework that provides the main metod in some subclass or trait.

The url for the plugin: http://plugins.intellij.net/plugin/?id=3672

0
Avatar
Permanently deleted user

I'm curious how you check for the presence of 'main' method in a super class. We have the necessary psi for this now if you need it.

0

Actually I don't check it at all. :) The plugin creates the configuration to all objects regardless if they have the main or not. At least for me it is an acceptable tradeoff for the achieved gain.

I tried to play with the psi a bit but it seemed that the needed functionality was not implemented (all method names were clone etc). Nice to hear that the main can now be fetched from the psi, I sure will check that at some point.

0
Avatar
Permanently deleted user

Another concern is that you depend on scala plugin which is being actively developed, so we cannot guarantee your dependency won't break.

0

Hello,

There is now a new version available, which supports configurations for classes annotated with @RunWith

0

请先登录再写评论。