Automatically unindent closing HTML tags in PyCharm -
i have toggled every option seems make sense , have searched hour, can't find solution. i'm sure i'm missing magic word, , solution simple, how make pycharm automatically unindent closing html tags?
for example, if type:
<div> test </ pycharm automatically fill in div>, leave indent hanging.
thanks in advance.
update: part of reason why particularly annoyed problem was unable backspace appropriate indent level before typing closing tag, put tag on correct level, had shift+tab or press home backspace.
i found this answer pointed me settings -> editor -> general -> smart keys, set backspace -> unindent to nearest indent position, instead of to proper indent position, dramatically reduced annoyance level of original issue.
i'll leave open, automatically unindenting closing tags (or automatically setting them "proper indent position") still ideal solution.
pycharm automatically adds closing tag when type starting tag. when type <div> there </div> directly added.
Comments
Post a Comment