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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -