am I doing something wrong or is it normal that 100 lines long spec (1x
describe
and 5x
it
) takes awfully long for syntax highlighting to kick in? anywhere between 10-20s
is it even related to spek or is it kotlin compiler issue?
I've tried searching this channel for solutions but haven't found anything
r
raniejade
07/14/2020, 2:30 PM
Syntax highlighting is done by IJ (specifically the kotlin plugin) - not spek. Are you able to replicate the issue when not using spek?
b
Bruno_
07/14/2020, 2:39 PM
kind of, in files that are complicated for compiler
Bruno_
07/14/2020, 2:40 PM
but even then it takes less time
r
raniejade
07/17/2020, 2:29 PM
If you can send me a reproducer, I can help investigate it.
b
Bruno_
07/28/2020, 1:11 PM
when I've rewritten the same spec to junit it works much faster
I guess it's an issue of one huge scope (120 lines) in spek vs many smaller function scopes in junit
c
charleskorn
08/02/2020, 10:18 AM
I've noticed the same thing, might be worth filing a bug with JetBrains