3 ms·
IDEA does something similar - you just type, and as long as the characters are found in the string in the order you typed them, it doesn't matter what's separat
by pocketarc 4y ago
IDEA does something similar - you just type, and as long as the characters are found in the string in the order you typed them, it doesn't matter what's separating them, it will find a match.
So ABC would match AsynchronousByteChannel, and abc would match asynchronous_byte_channel. As would asyncbc or whatever else your brain comes up with.
It's quite nice.
- moring 4y agoI think IDEA actually splits a CamelCase identifier and expects your input to be a concatenation of prefixes of these parts, in the correct order, but parts may be omitted. Though the latest version goes further and also detects flipped characters, so maybe levenshtein distance on top of that.
- brabel 4y agoOn Emacs, this is called "fuzzy" search and is easy to enable everywhere (autocompletion, file search, text etc).