Tailwind class autocomplete from kotlinx html?

已回答

I would love to have support for tailwind classes in kotlinx html. is there a way to enable it?

ie:

```kotlin

div("flex flex-col md:flex-row gap-10")

}

````

0

Hi Alex Styl 

Just to clarify, you mean to support the Tailwind CSS framework with Kotlinx.html in IntelliJ IDEA or just to implement or improve the code completion when working with Tailwind?

0

Hi Monica . I realized I was very vague on my post.

In reality I would like autocomplete support in the Intellij IDEA of tailwind css classes while writing kotlinx html.

Ie. when typing div(" I would like to press alt+space and have a list of all available tailwind classes, so that I do not need to leave the IDE in order to find out how some specific classes are called.

0

All good. I figured out how to add auto complete in kotlin files, but it was hidden, even while reading the JetBrains docs.

It might be worth updating the https://www.jetbrains.com/help/webstorm/tailwind-css.html#ws_css_tailwind_complete_classes page with Kotlin support.

Full how to at: https://app.slack.com/client/T09229ZC6/CKWA2MV8U

You may close this ticket.

0
Hi Alexander,

Thanks for letting me know about this. I'll report this problem in the document so that it can be modified.

Have a great day!
0

请先登录再写评论。