sublime-angular-material-snippets icon indicating copy to clipboard operation
sublime-angular-material-snippets copied to clipboard

All directives are broken - missing a less than sign at the beginning

Open abdel-ships-it opened this issue 9 years ago • 5 comments

Every directive is missing a less than sign at the beginning

Please have a look at this gif

abdel-ships-it avatar Mar 17 '16 23:03 abdel-ships-it

Oh how hilariousssssssss. Because we just had this other issue before where there was one too many carets.

stephnr avatar Mar 18 '16 00:03 stephnr

Yes. Before this commit https://github.com/devotis/sublime-angular-material-snippets/commit/2d2a476ef9425bef600c64b183df037267683ed7

When in an html file, when I typed md- nothing happens. When I typed <md- I got the snippets menu showing md- at the top, which is fine. When I clicked it, I end up with this snippet. And notice the double caret in the beginning.

<<md-tab label="" disabled md-on-select="" md-on-deselect="">...</md-tab>

So the commit by @Stephn-R was to fix that, but apprently that makes for @appie18 to have no leading caret at all.

Is there some ST setting that I and @appie18 have different? I have no clue at this point. But I do think that there are tons of sublime snippets libraries out there that must have solved this problem. Is anybody acquainted with a collaborator of one of those sublime snippets libraries that may be willing to help us out?

christiaanwesterbeek avatar Mar 18 '16 06:03 christiaanwesterbeek

Here is another popular project using HTML type snippets. Perhaps we might see something there:

https://github.com/joshnh/HTML-Snippets/blob/master/comm.sublime-snippet

stephnr avatar Mar 18 '16 19:03 stephnr

Any updates on this issue?

abdel-ships-it avatar Jun 18 '16 17:06 abdel-ships-it

You're welcome to implement a fix. I don't have time to fixt it myself and what I tried before myself didn't work out for others

christiaanwesterbeek avatar Jun 20 '16 08:06 christiaanwesterbeek