CSS indenting not working
I have my css code style set up to use tabs (i just prefer them) and when I create a new
selection it does not automatically indent upon hitting return
So I get stuff like this:
#someID {
prop: val;
prop: val;
}
instead of:
#someID {
prop: val;
prop: val;
}
and the weird thing is, the code style window for css shows the 2nd block as the format.
As it stands right now, I have to hit tab after every return manually inbetween entering properties.
This only happens in CSS all the other languages work fine.
PHPS 7.1.3 windows 8.1u1
Please sign in to leave a comment.
Please attach a screenshot of your Settings/Code Style/CSS, Tabs and Indents tab
Also, do you have 'Smart Indent' enabled in Settiungs/Editor/Smart Keys?
Yes I have smart indent enabled.
Thanks for the help
Attachment(s):
phps-css-settings.jpg
Looks OK. Does the formatting (Code/Reformate Code...) change the indentation?
What file type .css is associated with (Settings/File Types)? Do you have this problem in .css files, or in .html files with embedded <style>, or in .php files?