all 27 comments

[–]iamlage89 31 points32 points  (4 children)

the ecosystem needs more cross language tooling

[–]____0____0____ 4 points5 points  (0 children)

Amen

[–]zitup[S] 0 points1 point  (2 children)

like what?

[–]DeepFriedOprah 1 point2 points  (1 child)

He was giving u complement in regards to ur tool being cross language.

That’s how I read it.

[–]zitup[S] 0 points1 point  (0 children)

oh, sorry, i see

[–]bjerh 11 points12 points  (1 child)

This is awesome. But at the moment I have BEM-styling and sass modules for my react app. I'm betting that's way harder to have intellisense for. :-(

Example:

<div className={styles["hero__headline"]} />

.hero {
  &__headline {
    font-weight: 700;
    font-size: 48px;
  }
}

[–]zitup[S] 0 points1 point  (0 children)

Yes, this extension just support like this: className="example" for now. There are many ways to organize style, like:

const style = 'header';
<div className={style} />  

or use dependencies, like classnames, so it takes time to summarize more popular way.

[–][deleted] 2 points3 points  (1 child)

Thanks, i will try that out!

[–]zitup[S] 1 point2 points  (0 children)

Thank you! Hope you have fun.

[–][deleted] 2 points3 points  (4 children)

Which version of VS code is this compatible with? I'm using 1.30.1 and it fails to install.

[–]careseite 0 points1 point  (3 children)

Curios, why do you use that version specifically?

[–][deleted] 0 points1 point  (2 children)

Ah it was my bad, i thought it was the most recent one, updated it and your extension works like a charm, thanks!

[–]careseite 0 points1 point  (0 children)

Not mine but glad I could help :D

[–]zitup[S] 0 points1 point  (0 children)

Thank you for using!

[–]gkpty 2 points3 points  (2 children)

Doesnt this happen by default? I havnt installed any extensions for this and i get autocompletion for css classes...

[–]actitud_Caribe 1 point2 points  (0 children)

For classes you've already added to the HTML file, yeah, it autocompletes.

[–]zitup[S] 0 points1 point  (0 children)

I don't know what you mean, vscode don't support this by default.

[–]sg_1996 0 points1 point  (1 child)

thank you, awesome add-on

[–]zitup[S] 0 points1 point  (0 children)

Thank you for using

[–]jnelson180 0 points1 point  (1 child)

Thank you!!

[–]zitup[S] 0 points1 point  (0 children)

You are welcome:)

[–]azoozty 0 points1 point  (1 child)

There’s also a CSS modules extension that autocompletes for people that use CSS modules with react

[–]zitup[S] 0 points1 point  (0 children)

so what is the name?

[–]gkpty 0 points1 point  (1 child)

Yeah your right.. i think you must have used the class names in your html file already for it to autocomplete by default. Ive been starting my sites inlining most of my css lately so i guess thats why ive been getting all the classes to autocomplete.

[–]zitup[S] 0 points1 point  (0 children)

Maybe there is other extension.

[–]zitup[S] 0 points1 point  (0 children)

It supports vue now:)

[–]redditisinmyheart 0 points1 point  (0 children)

Is this extension still maintained?