Reputation: 51
Is it possible to suggest css classes from my css files in PhpStorm when coding html templates? In Netbenas, this was pretty awesome function and I would like to use this in PhpStorm too.
Upvotes: 0
Views: 641
Reputation: 31
Also consider to exclude <style>
tags inside your template files. I was desperately googling until I found this thread in jetbrains support forums
I really had some included styles in template and this was the problem.
Upvotes: 1
Reputation: 977
Yes you can. PhpStrom is very smart it automatically includes every single css class which we written in your stylesheets, Just simply add your any CSS classes in your stylesheets,
Eg: You have style.css and now you want to use a class my-class{background-color: green;}
if your CSS is included in your project then it will automatically show up in your HTML code when you write it.
Upvotes: 1