Indentation Error with Sublime Text

前端 未结 2 1305
礼貌的吻别
礼貌的吻别 2021-02-03 13:57

I\'m trying to use the auto-indentation feature in Sublime Text 3 for HTML. I\'ve got some block comments in the html and selecting Edit>Line>Reindent works until it hits a bloc

2条回答
  •  闹比i
    闹比i (楼主)
    2021-02-03 14:29

    Tried your example in Sublime Text 3 (builds 3103 and 3114) and you are right, the indentation breaks when it finds a comment block.

    Apparently, the reindentation functionality was always pretty weak and HTML is not the only context where it doesn't work (EDIT: Confirmed in PHP too, pretty much the same behavior).

    I'd recommend submitting the issue if it isn't already submitted.

提交回复
热议问题