How do i set the behavior which cause the editor to use smart indentation when i compose code?
for example if i write the following c++ code:
MyClass::~MyClass()
{<cursor>
and push enter, the cursor will move one line down and one tab right:
MyClass::~MyClass()
{
<cursor>
but, when i compose Erlang code, i don’t get that behavior, for example:
my_func() -> <cursor>
and when i push enter:
my_func() ->
<cursor>
so…
how can i make it happen?