theron-wang / VS2022-Editor-Support-for-Tailwind-CSS

Unofficial VS2022 Tailwind CSS extension for IntelliSense, linting, sorting, and more to enhance the development experience in Visual Studio 2022.
https://marketplace.visualstudio.com/items?itemName=TheronWang.TailwindCSSIntellisense
MIT License
86 stars 5 forks source link

Allow the configuration file to have other extensions #44

Closed Timonney closed 3 months ago

Timonney commented 3 months ago

My config file as a "cjs" extension (tailwind.config,cjs) so I can't set it as a config file

Is it possible to add this kind of extension for the config file ?

theron-wang commented 3 months ago

In this case, you could change the relative path of the configuration file (ConfigurationFile property) in your tailwind.extension.json file. I will definitely add context menu support in the near future, though; thanks for letting me know.

theron-wang commented 3 months ago

Added in 1.4.1

Timonney commented 3 months ago

thank you