Go to definition

this is for go-to-def, but we can re-use this, from links in line,column error messages etc