davidrios / jade-tmbundle

A comprehensive textmate / sublime text bundle for the Jade template language.
https://github.com/davidrios/jade-tmbundle
MIT License
102 stars 31 forks source link

Custom snippets/autocomplete #77

Open mike-czarnota opened 8 years ago

mike-czarnota commented 8 years ago

Hi there, I'm using a lot of jade with custom tags. E.g.

<super-tag>blahblah</super-tag>

This tag has got some default attributes such as [type="furniture"] so it looks like

<super-tag type="furniture">blahblah</super-tag>

How can I add these tags to behave like an input or others that have default attributes? (When I type input + TAB it becomes input(type="text")

I added super-tag to Jade.sublime-completions but it doesn't allow me to specify those default attributes to be shown after hitting TAB.