# Chapter 6. Code Completion

Although Kate already offers a good completion mode, Kile extended code completion to support some special methods especially for LATEX. Five different modes are integrated. Three of them work on demand, the other two are autocompletion modes. All modes can be configured to work very differently at SettingsConfigure Kile....

## Automatic Environment Completion

When you begin a new environment, typing \begin{environment}, Kile will automatically add an \end{environment} command, with a line in between for your text.

Autocompletion can be turned off in the LATEX section of SettingsConfigure Kile...LaTeX+Environments.

Completing an Equation Environment