A common problem of mine has been editing speed. My project is now 11k and 15k with tests. Thats a lot of lines of scala code! The new FSC stuff is pretty awesome, but the primary issue for me is basic editing support. Here is a list of things that can be unbearbly slow for me:
- copying a line of code (cmd-c on a line with nothing selected)
- pasting code of just a few lines
- code completion tends to take at least 5 seconds to pop up anything
- alt-enter auto-fix for imports is pretty slow. It take takes 10+ seconds for intellij to give me the proper import, although the text is red after just a few seconds.
- other random lock ups
When I get the freezes, it is impossible to use the EAP "take a snapshot" because the entire UI is frozen. It's all wedged and bad.
I don't really know how to report this bug, since from my pov its a super basic usability thing. During these events, the CPU will spike to max possible, which means up to 400% or more on my quad mac pro. I run intellij on a mac book air, macbook pro, and mac pro all latest generation boxes and it happens on every one. Basically: pretty sure its not because my boxes are slow.
But I am pretty sure this is because our project is so "large". 11kloc in scala is a lot of scala. We don't really do anything special really, we have a maven project, with 2-3 modules of scala code, a few files of java code, but its 95%+ scala by loc.
Short of actually sending you my source, I'm not sure what I can provide here. I could run intellij under profiling for 10-20 minutes while I code, but I don't know how useful this would be.