How does KDevelop's quick open match names??
Matthew Woehlke
mwoehlke.floss at gmail.com
Fri Jul 20 19:22:23 BST 2018
Okay, this has been bothering me for some time. Can someone explain the
logic behind how Quick Open decides what it thinks you want to open? In
particular, can someone explain why it "prefers" more distant matches,
at least when typing file names?
See attached example. I've typed "options.p", which Quick Open thinks is
a better match for "options_for_QT.cpp", which is a "split" match (if I
divide the input string into three parts, each part matches, in order)
than for "make_options.py", an exact substring match.
I notice this almost constantly; given an input like "abc", Quick Open
almost always "prefers" matches like "qabdcx" (that only match when
additional text is inserted e.g. between 'b' and 'c') over a match like
"abc.x" that not only contains, but *starts with*, the exact string
"abc". Why is this?
--
Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_20180720_141544.png
Type: image/png
Size: 28907 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20180720/613e4e24/attachment.png>
More information about the KDevelop
mailing list