Sublime Forum

Tab indentations issues

#1

Hi,

I have an issue where the TAB INDENT is being removed when entering blank lines.

Make a html file, then inthe body type

<ul>
                <li>test<li>
------- press enter for empty line (note it keeps tab indent) -----------
------- press enter for empty line (note it keeps tab indent) -----------
------- press enter for empty line (note it keeps tab indent) -----------
------- press enter for empty line (note it keeps tab indent) -----------
</ul>

So what you have entered and expect is:

<ul>
                <li>test<li>
                |tab
                |tab
                |tab
                |tab
</ul>

What we actually get is:

<ul>
                <li>test<li>
|
|
|
                |tab
</ul>

Tabs are gone… And if I am many tabs in, then I end up pressing tab like there’s no tomorrow…

Try it, once you have made entered that, if you try to navigate to the empty tab indented lines you will notice that the tab indent has been lost and you end up pressing tab for each line you made that was empty.

This happens in so many places. And loading files up from other editors, often single return lines and gaps in functions which are complex and giving some room before and after a complex process results in tab loss.

Is there an option to save tabs, even if there is nothing on the line?

Thanks

D

0 Likes

#2

viewtopic.php?f=4&t=8505#p37549

0 Likes

#3

Nice one thanks :smile:

0 Likes