zignd / HTML-CSS-Class-Completion

:chocolate_bar: Visual Studio Code extension that provides CSS class name completion for the HTML class attribute based on the CSS files in your workspace
https://marketplace.visualstudio.com/items?itemName=Zignd.html-css-class-completion
MIT License
250 stars 83 forks source link

How to add .marko files #366

Open toni-css opened 2 years ago

toni-css commented 2 years ago

Hi!

I'm trying use intellisense in a .marko file, trying add it as a 'html-css-class-completion.HTMLLanguages' but it doesn't works

"git.autofetch": true, "explorer.compactFolders": false, "cSpell.enableFiletypes": [ "marko" ], "window.zoomLevel": 1, "html-css-class-completion.includeGlobPattern": "**/*.{css,html,marko}" }

Can you help me?

Thanks!

DerDemystifier commented 1 year ago

It doesn't seem to work for me either. Tried adding Jinja, no matter how I change the setting, it doesn't work :/

SOLVED: Should've wrote

        "jinja-html"
    ],

Don't know why it's not working for you though, you should just add it to the 'html-css-class-completion.HTMLLanguages' array and that's it. No need to add "marko" anywhere else. It should work.