ScalaOccurrencesFinder - what does it do ?

10 views
Skip to first unread message

Sean Wolfe

unread,
Oct 20, 2015, 3:22:02 PM10/20/15
to Scala IDE User
While debugging an issue I'm having with organize imports, I'm seeing references to a ScalaOccurencesFinder. I'm curious as to what it does? It seems to be running quite a bit.

2015-10-20 12:17:00,249  INFO [Worker-24] - ScalaOccurrencesFinder - No valid MarkOccurrences index.
2015-10-20 12:17:00,250 DEBUG [Worker-24] - Utils$ - Time elapsed for building mark occurrences index in source MiniClass.scala:   1 ms
2015-10-20 12:17:00,251 DEBUG [Worker-24] - Utils$ - Time elapsed for "updateOccurrences" in source MiniClass.scala:   2 ms


iulian dragos

unread,
Oct 20, 2015, 3:43:08 PM10/20/15
to scala-i...@googlegroups.com
It's the thing that highlights all occurrences of the symbol under the cursor. I usually turn it off, but occasionally it is useful. We've had performance issues in the past, so we still log timings (at the debug level).

--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/c2abc68f-47af-46c3-8dbe-bd737579c143%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais

Sean Wolfe

unread,
Oct 20, 2015, 3:56:38 PM10/20/15
to Scala IDE User
oh ok -- a straightforward name then. Thanks!
Reply all
Reply to author
Forward
0 new messages