add auto complete and fix electric indent