auto parse language for editor