bootstrap classes autocomplete in pycharm/Django
Hello
strange issue. i have 2 project in Django and i copied base page from one to another. in 1 project bootstrap4 code autocomplete works fine, that is i type ,<div class="col" and it says for examaple <div class="col-md3".
In the second project with 100% same base page -it doesnt work.
I have downloaded all 3 js files required by Bootstrap= no effect
bootstrap classes by itself work, but no autocompletion.

Please sign in to leave a comment.
Do you have the bootstrap `.css` files available in your project (i.e. in your project folder)?
This is what i have.
These bootstrap files a have in extrernal project's libriary
These are JavaScript libraries. PyCharm can't use .js files for CSS completion:) You need placing bootsrap .css files in your project to get the completion/resolve working
Elena, thank you for the answer. Could you please advice which exact files and where exactly i should place? Where i could source them as well?
How can I know what files you need in your project? According to you, you have them in your other project, where the completion works... I suppose, downloading boorstrap from https://getbootstrap.com/docs/4.3/getting-started/download/ and placing the files in your project should be enough
It helped. Thank you
I have the same problem
i used pycharm community
how true i can enable autocomplete classes
bootstrap css download and hooked up, but has no autocomplete
There is no CSS support in Community Edition (check https://www.jetbrains.com/products/compare/?product=pycharm&product=pycharm-ce), so you can't expect the advanced features like CSS classes completion to work there