开发者

phpstorm javascript autoindent problem

writing a code block with auto indent. no manual tab开发者_JAVA技巧bing...

$(document).ready(function() {
        $("#welc").toggle(function() {
            $(this).val("hello");
        }, function() {
                    $(this).val('hell');
                });
    });
</script>

got a result like that but it should be like:

<script type="text/javascript">
    $(document).ready(function() {
        $("#welc").toggle(function() {
            $(this).val("hello");
        }, function() {
            $(this).val('hell');
        });
    });
</script>

a bug or i am missing something?


Please check this issue. Should be addressed in 2.1.1 or next update.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜