feature request: prioritize current file
emmanueltouzery opened this issue · 0 comments
emmanueltouzery commented
this plugin is very useful, thank you very much!
an improvement that would be nice is that the matching files wouldn't be strictly sorted alphabetically, but if a candidate definition is found in the current file, then the current file would be put at the top as the first candidate.
I've had this situation when there are multiple java classes with the same function, for instance sendMessage()
. And if I'm in NetworkConnector
for instance, then most likely I want NetworkConnector.findMessage()
, not FileConnector.sendMessage()
, with otherwise also exist. And despite the fact that FileConnector
is before NetworkConnector
in the alphabet.
thank you again for the plugin!