Open gencer opened 6 years ago
I will go with my drop-in replacement for this. See here
Reason I did not send Pull request was;
If you are comply with my reasons, I can un-publish it, send you the pull request and go with your way. Until then I would like to keep my extension as it is.
You can use "html-css-class-completion.includeGlobPattern": "**/*.{css,html,scss}",
to add other extensions.
@muuvmuuv, Of course that was the first thing I tried. This won't solve classes in a class, and magic class functions. My implementation just does it very well. Also, Slim support was a number one priority for me -which I solved it too-.
Ah, I understand, but why did you not simply created a fork and pull request for your feature? That would reduce duplicate plugins with the same functionality in the VSCode Marketplace?
Please ask the author about to merge with you extension :)
Ah sorry did not read your second comment. Anyway, I hope the author will be fine or you both find a way to make this plugin more scalable for future templates.
Slim is a Ruby HTML Template engine alternative to Haml and ERB.
It would be nice to see slim template engine support with this outstanding extension.
In slim, we use tabbed syntax and everything starts with
.
(dot)
is a class. Everything starts with#
(hash)
is an ID.Whenever we hit dot on keyboard, this plugin can start to show us possible class names.
Sample:
Reference: https://github.com/slim-template/slim