When you enter code, the AI can suggest the next line of code, complete methods, boilerplate code, whole unit tests, and complex algorithms. To make sure the code fits the context of the project and the style conventions, Copilot can offer several options.