While working on my next project “Lumi,” I felt the need to improve the auto-complete feature of Neat game engine’s console. I fixed some bugs in the console and added a “custom auto-complete” feature that allows each command to have its own algorithm for TAB auto-complete. The Console.AddCommand now takes a third optional parameter which is the method that returns the auto-complete results for each command based on the arguments the user entered in the console.

Another improvement in the console is that it now recognizes every color defined in the XNA’s Color class by name, and they are also available in color auto-complete. So if you press TAB after a command that takes a color argument, you can see a list of available colors. Of course, you can also manually enter RGB or RGBA values as vector inputs for custom colors.