I have implemented two new ways to filter the code completion popup in kate: filtering the list using an abbreviation, and filtering the list using text not occuring at the word’s beginning. This can probably best be demonstrated by lots of pictures:
|You can match completion items by their abbreviation. This works for both camel case and underscore notation.|
|The abbreviation expansion engine also allows you to type parts of the words from the abbreviation, making your search more specific in a convenient way.|
This feature is not specific to kdev-python, it works in all kate-based apps. It is available in kate’s master branch, and will be available in KDE SC >= 4.12.
If you have more suggestions or cases which are not handled well, I’m happy to discuss this further. Have fun hacking!
P.S. If anyone can come up with an efficient algorithm for doing what is depicted in the last image, I’d be interested. The current one is quite slow for some corner cases.