Take context into account for go to declaration
There is no context searching yet, lets say there is a class foo
and a function foo
and you go to the declaration of foo
when it is used somewhere you will get both a result for class foo
and function foo
.