MovingBlocks/Terasology — pull request #803 by msteiger (2014-01-04 10:39:52+00:00)
Title: Added regex-based command completion in console

This one is actually quite funny: I don't know under which circumstances the previous console command auto-completion worked. It should check for exact matches, but imho the offset of 1 character breaks everything.

Anyway, I threw it out and added camel-case auto-completion instead (just like in eclipse's "Open Type" dialog). For example:

gh -> ghost
liB -> listBlocks
pW -> purgeWorld
seMaGSpe-> setMaxGroundSpeed setMaxGhostSpeed

Using the asterisk wildcard "*" also works. See the tests in `CamelCaseMatcherTest` for more examples.