It would be nice to display scope context on page with search results - i.e. apart from matched line display also a function name inside which the symbol was found.
I have a functional prototype for C/C++ which I'm willing to pull after some tidying is done.