Skip to content

Add better support for PyCharm #142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
oliverandrich opened this issue Nov 28, 2024 · 2 comments
Closed

Add better support for PyCharm #142

oliverandrich opened this issue Nov 28, 2024 · 2 comments

Comments

@oliverandrich
Copy link
Member

PyCharm's tailwindcss plugin has an issue with the CLI.

https://youtrack.jetbrains.com/issue/WEB-55647/Support-Tailwind-css-autocompletion-using-standalone-tailwind-CLI#focus=Comments-27-10957961.0-0

It might be a handy idea to support a workaround that is handled by the runserver and runserver_plus command. Say could temporarily create the required files and links and delete them, when the server exits.

@oliverandrich
Copy link
Member Author

The idea with the runserver command is not good. I kills the support as soon as the runserver is not running. The approach has to be to create a management command, that installs the fix based on the used tailwindcss cli version.

And the fix should integrate a way to update the links as soon as the cli version is changed.

@oliverandrich
Copy link
Member Author

Version 2.21.0 includes support for the new subcommands install_pycharm_workaround and remove_pycharm_workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant