jaredh159 / tailwind-react-native-classnames

simple, expressive API for tailwindcss + react-native
2.08k stars 84 forks source link

Teaches you how to implement automatic syntax prompts in webstorm. #282

Closed yangfei4913438 closed 8 months ago

yangfei4913438 commented 8 months ago

webstorm configuration, I hope to help you

  1. Check the version. Available for WebStorm 2023.1(opens in a new tab) and later
  2. Open the settings. Go to Languages and Frameworks | Style Sheets | Tailwind CSS
  3. Add the following to your tailwind configuration
    "experimental": {
    "configFile": null,
    "classRegex": [
      "tw\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"
    ]
    }
jaredh159 commented 8 months ago

hi, thanks for this. i'm going to close this issue, could you post it instead as part of this discussion?

https://github.com/jaredh159/tailwind-react-native-classnames/discussions/124

johanpedroo commented 5 months ago

don't works for me :/