Adding syntax checking and autocompletion