Smart tabs does not work in actionscript 3 formatting?

Hi,

I want tabs to be added in empty lines, to align with current Indentation.

If I understand properly this is what Smart tabs checkbox is for?

But it does not work!

What I want after formating:

package {
class Foo {
     |
     |public function foo(x:int, z) {
     |     |var y = x * z;
     |     |
     |     |return y;
     |}
     |
}
}



what I get:

package {
class Foo {

     |public function foo(x:int, z) {
     |     |var y = x * z;

     |     |return y;
     |}

}
}


Thank you for your time.

2 comments

Hi Raimundas,

No, smart tabs are used for another purpose - http://www.emacswiki.org/SmartTabs

Our formatter strips trailing spaces all the time.

Denis

0

You can disable stripping trailing spaces at Settings | Editor | Strip trailing spaces on Save, but this option affects lines with text as well as empty lines.

0

Please sign in to leave a comment.