Optimize the keyword search, first analyze current file to precisely
locate the imported source files then search for defintion. Hope this
can give better result and performance.