scala - How can I find where does a method definition rather then declaration in idea IDE? -


in scala, class combine many trait , it's difficult find method definition.does function exist in idea?

example:

trait {   def name: string  }  class achildren extends {   def name = "achildren" }  class b(val a: a) { }  object main extends  app {   val binstance = new b(new achildren())   binstance.a.name } 

when use ctrl/cmd + b on name of binstance.a.name, idea trace a.name.obviously, useful information achildren.name, implements executable code. can point achildren.name?

in intellij idea, move cursor function call , press ctrl+b. should open function definition (unless changed hotkey ofc.)


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -