Updated gen-idea for better IDEA Scala compilation