3 Replies Last post: Jan 25, 2013 4:55 PM by Raul Pinto  
Raul Pinto Newbie 18 posts since
Sep 12, 2012
Currently Being Moderated

Jan 24, 2013 1:44 PM

Unexpected indentation

Hi all,


I searched around but didn't find exactly what my problem is. Perhaps it's something within Settings|Code Style|HTML?


Anyway, I recorded a video that shows, that after having a h2-tag (closed), phpStorm indents the next line. I don't want that. How can I change that?





Rustam Vishnyakov JetBrains 135 posts since
Apr 9, 2010
Currently Being Moderated
Jan 24, 2013 3:46 PM in response to: Raul Pinto
Re: Unexpected indentation

This is a bug in version 5.x and eariler and it was fixed in version 6.0 which is still under development. But you may check a EAP build: http://confluence.jetbrains.net/display/WI/Web+IDE+EAP

Andriy Bazanov Master 5,100 posts since
May 28, 2010
Currently Being Moderated
Jan 24, 2013 5:29 PM in response to: Rustam Vishnyakov
Re: Unexpected indentation

It is indeed looks fixed for php files, but not for html (typing exactly as in the video -- <h2> as first tag in the file)

More Like This

  • Retrieving data ...