set auto complete on sublime text 3 for custom html elements
Good day, how can I set auto complete on sublime text 3 for custom html elements, like for example if I type: dog then press tab it will become <dog></dog> .. thanks for your answer. You can create a custom .sublime-completions file for this. Create a new file with JSON syntax in Sublime, using the following contents (of course customized to your needs): { "scope": "text.html - source, punctuation.definition.tag.begin", "completions": [ { "trigger": "foo", "contents": "<foo>$0</foo>" }, { "trigger": "bar", "contents": "<bar class=\"$1\">$0</bar>" }, { "trigger": "baz", "contents": "<baz class=