anthraxx / intellij-awesome-console

IntelliJ IDEA plugin: awesome console finally makes links in your console at least 200% more awesome!
MIT License
159 stars 40 forks source link

Problem about scala object which has class that ends with `$` #31

Closed aristotll closed 5 years ago

aristotll commented 6 years ago

How can I ignore the trailing$ in class name? Example code:

import org.apache.commons.logging.{Log, LogFactory}

object First {
  val log: Log = LogFactory.getLog(this.getClass)

  def main(args: Array[String]): Unit = {
    log.info("test")
  }
}

The console output:

2017-10-23 23:22:27,091 [INFO -scala_.loggings.First$:17] test

I do know the class of this.getClass ends with $, but with scala_.loggings.First:17 I can jump to the specific line. So how to ignore the $?