or use some IDE which has code completer instead of plain old text editor.