gencer / SCSS-Everywhere

A Visual Studio Code extension that provides CSS class and ID atttribute completion with incremental build and usage explorer for the HTML class attribute based on the CSS/Template files in your workspace. Also supports React's className attribute.
https://marketplace.visualstudio.com/items?itemName=gencer.html-slim-scss-css-class-completion
MIT License
24 stars 9 forks source link

Added support for Haml #53

Closed ndbroadbent closed 4 years ago

ndbroadbent commented 4 years ago

It was really easy to get this working, since Haml is so similar to Slim. I just copied/pasted all of the Slim code and renamed it to Haml, and it worked out of the box for all the basic cases. (But I still think it's a good idea to duplicate the code in case there are some edge cases that need to be fixed in the future.)

Screen Shot 2020-05-03 at 8 11 27 PM
ndbroadbent commented 4 years ago

Wow I just saw you pushed HAML support a few minutes ago! Haha that's awesome, thanks so much!

gencer commented 4 years ago

Ah! @ndbroadbent I am sorry. I didn't saw this PR! I just got e-mail for issue you opened!

I would definitely merge this one.