Problems with make

Hi guys. Something has been bugging me for a while and I thought I'd finally let you know about it

I have a (very) large project with a lot of java and a lot of scala in it. Whenever I do a make, it takes forever parsing and running different phases (all scala stuff). I know you can't do anything about the time it takes to run the scalac but I think there are some things you can do to speed up the make process in general.

  1. If no files have changed between makes, I think it should be possible just to run the program. This happens with pure java projects at the moment but in mixed java/scala projects, I do a make, run something and close it, and then run it again, and it does a make.
  2. During the make I sometimes see 'running phase sample-phase .....' come up. I thought sample phase was just that, and doesn't have any reason to be run during a make of my project.
  3. Provide an option to use fsc rather than scalac for makes. I'm not sure how feasible this is (in mixed java/scala projects), but if possible it should speed things up.


I'm really enjoying scala on intellij so please keep up the good work.

Paul.

1 comment
Comment actions Permalink

1. Have you tried today released plugin? (and what version you use? when no changed files, make shouldn't run, but you can disable make before run, it's just workaround)
I added some fix to compiler (to Maia version, but it can't work better then any Diana version), it can improve make from previouses Maia versions.

2. What you see, it's just real compiler output. We can't do anything with it.

3. Fast scala compiler option it's a good thing to do, ok.

Thank you for choosing intelliJ:)

Best regards,
Alexander Podkhalyuzin.

0

Please sign in to leave a comment.