Answer the question
In order to leave comments, you need to log in
Carriage wrapping in Sublime Text 3 when editing html/php code
With a clean installation of ST2, I don’t install any plugins, ST2, when wrapping a line inside the parent tag in HTML, adds an indent (tab character) before the child tag. I just can not achieve the same in ST3. All default settings, every time I do a clean install. If you put the Alignmet plugin, it also aligns without indents.
ST2:
<div>
<ul>
<li></li>
</ul>
</div>
<div>
<ul>
<li></li>
</ul>
</div>
Answer the question
In order to leave comments, you need to log in
It turns out that older builds of version 3 quite correctly place automatic indents in HTML.
How I did:
1) Installed and launched Sublime Text 3 build 3021 2) Copy the Default and HTML
folders from the C:\Users\ user_name \AppData\Local\Sublime Text 3\Cache folder
3) Completely remove version 3021, install the latest version and paste files from the old version into the same path.
After that, everything worked for me.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question