Auto completion to the editor