clsx icon indicating copy to clipboard operation
clsx copied to clipboard

docs: Add guide to enable autocomplete for JetBrains IDEs

Open filippofilip95 opened this issue 2 years ago • 2 comments

Hi there!

I've added the guide on how to enable autocomplete for the JetBrains IDEs such as Webstorm. It might be helpful for the users of the JetBrains ecosystem.

I already have it configured this way.

Screenshot 2023-04-25 at 11 58 18 Screenshot 2023-04-25 at 11 59 51

filippofilip95 avatar Apr 25 '23 09:04 filippofilip95

Btw Tailwind with clsx works for me with no extra config, or am I missing sth?

Screen 2023-11-02 at 13 15 21

Screen 2023-11-02 at 13 16 40

Strajk avatar Nov 02 '23 12:11 Strajk

@Strajk It's working when it's used for the className prop.

However, If u want to define class names separately to a constant, suggestions are not working.

Here's an example.

Screenshot 2023-11-03 at 07 58 15 Screenshot 2023-11-03 at 07 57 52

filippofilip95 avatar Nov 03 '23 07:11 filippofilip95