Adding snippet and autocomplete suport