In IntelliJ, following file symbols(image also shows partial file name) are displayed:

I can understand first three symbols. What does last one stand for?

File MyClass.scala with class MyClass
File MyClass1.scala with object MyClass1
File MyClass2.scala with trait MyClass2
File MyClass4.scala with class MyClass4 and companion object MyClass4
File MyClass5.scala with trait MyClass5 and companion object MyClass5
File MyClass6.scala that contains not only (or different from) object, trait or class MyClass6 (and possibly its companion object). For example here file MyClass6.scala contains class MyClass6 and class MyClass7.
And yes, Scala worksheet has the same icon as 6.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With