document how to code completion