Hello
i want to reindent my code, but it doesnt work.
I try: Edit Line Reindent and strg+k
Anyone an idea?
Hello
i want to reindent my code, but it doesnt work.
I try: Edit Line Reindent and strg+k
Anyone an idea?
Have you selected all the text you’d like to reindent? Are you sure your HTML isn’t already ‘correctly’ indented?
That HTML looks already correctly indented to me. Note without plugins ST can’t format your code for you, it can only attempt to fix indentation, so it won’t split your lines up the way you might want.
I think there used to be a way to indent the code like in the second picture. But that was years ago. Do you think that only works with a plugin?
There’s multiple plugins that can format html: https://packagecontrol.io/search/format%20html. Reindent does what it says, it only adjusts indentation.