Syntax update of akka-http routes incredibly slow - anything I can do to speed it up?

Update of syntax highlighting is incredibly slow, when editing even a simple route definition. Updates take seconds, which really breaks the edit/will-this-compile flow.

I didn't have this before. Maybe something's changed. Are others experiencing it?

IntelliJ IDEA 2017.1.4
Build #IC-171.4694.23, built on June 6, 2017
JRE: 1.8.0_112-release-736-b21 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.5

Scala 2.12.2
akka-http 10.0.7


Could you please capture a CPU snapshot at the time when this problem occurs? The problem might be project-specific, so having the relevant snapshot will help us to troubleshot the issue.

I think it was due to inheriting from a trait that also declared the 'put' method, which somehow got IntelliJ confused. Anyways, my code has changed since then and am on holiday. Can we just close the issue.