缩进问题?>在Aptana Studio 3

时间:2012-12-02 23:53:49

标签: tags pydev

格式化给了我Aptana studio 3中的问题,这就是我想要的。

<?php
if (condition) {
    if (condition) {
        if (condition) {
            if (condition) {
            } else {
                if (condition) {                    
                    ?>
                        <!--a block of html code would go here
                        a block of html code would go here
                        a block of html code would go here
                        a block of html code would go here
                        a block of html code would go here
                        -->                 
                    <?php

                }
            }
        }
    }
} else {
}
?> 

然而,在格式化后,这就是我得到的:

<?php
if (condition) {
    if (condition) {
        if (condition) {
            if (condition) {
            } else {
                if (condition) {                    

?>
<!--a block of html code would go here
a block of html code would go here
a block of html code would go here
a block of html code would go here
a block of html code would go here
-->
<?php
}
}
}
}
} else {
}
?>

看起来格式化程序出现问题我从php输入html,但是我不想使用echo,因为html很多。

Netbeans处理这个罚款。 我如何在Aptana Studio中修复此问题?

由于

0 个答案:

没有答案