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.

8 comments
Comment actions Permalink

Do you have the bootstrap `.css` files available in your project (i.e. in your project folder)?

0
Comment actions Permalink

This is what i have.

 

0
Comment actions Permalink

These bootstrap files a have in extrernal project's libriary

0
Comment actions Permalink

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

0
Comment actions Permalink

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?

 

0
Comment actions Permalink

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

1
Comment actions Permalink

It helped. Thank you

1

Please sign in to leave a comment.