enable snippets and improve editor.