After adding one method to my existing class code, that method is not coming while accessing object of that class. If I write the method manually with the object name(someObject.myMethod()) it's showing in red color and telling "can not resolve symbol". Don't know why compilation on the fly is not happening here.
Like below though case class GetSnapShotById and method getSnapShotById are defined in respective class, it's showing error.
Note: suggestion list and other things are working fine for already exist code. I am using git repo.