Linking front-end (selects declaration on F3)

This is dependent on (and has merged into it) #1674 

Review @devoncarew 

I will update pull request with #1674 once it's merged (to clean up diff)