S
S
Semen553382014-01-10 02:59:48
Sublime Text
Semen55338, 2014-01-10 02:59:48

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>

ST3
<div>
<ul>
<li></li>
</ul>
</div>

In settings "auto_indent": true

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roma Zvarich, 2015-05-30
@Semen55338

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 question

Ask a Question

731 491 924 answers to any question