Sublime Forum

Indention problem

#1

When i use sublime with HTML and php combined the indention gets stuck please see:

…<?php if(1 == 1): ?>


…hello world

…<?php endif; ?>

I get this where i should expect this:

…<?php if(1 == 1): ?>


…hello world

…<?php endif; ?>

This happens when i hit re-indent. Is there anyway to fix this? Please let me know!

PS: this happens with all alternate PHP tags like: <?php endwhile; ?> <?php endforeach; ?> etc etc

0 Likes

#2

Nobody got a solution for this problem?

I am sure a lot of wordpress and magento developers are facing this issue…

0 Likes

#3

bump
Yeah, I have the same indentation problem. Haven’t been able to find a solution.
Seen this behavior in both ST2 and ST3

0 Likes