Smart indentation?

Asked by Amr Hassan on 2011-02-20

Hi,
I am absolutely loving scribes :)
I'm just wondering about a smart indentation feature that I'm used to in other text editors, like auto-inserting an indentation character in the new line after a "{" and putting the "}" back one level backwards. Also after the ":" for python files, and so on with the equivalent in every file format. Does that exist or should I file a bug asking for it? :)

Question information

Language:
English Edit question
Status:
Solved
For:
Scribes Edit question
Assignee:
No assignee Edit question
Solved by:
Amr Hassan
Solved:
2011-02-20
Last query:
2011-02-20
Last reply:
Mystilleef (mystilleef) said : #1

It does that already for {} and for Python. What version are you using (scribes -i)?

Amr Hassan (amr-hassan) said : #2

0.4-dev-build587
The ":" works in python, but the curly brace doesn't work in C, C++,
or in bash files.

-- Amr

On Sun, Feb 20, 2011 at 13:40, Mystilleef
<email address hidden> wrote:
> Your question #146102 on Scribes changed:
> https://answers.launchpad.net/scribes/+question/146102
>
> Mystilleef posted a new comment:
> It does that already for {} and for Python. What version are you using
> (scribes -i)?
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Mystilleef (mystilleef) said : #3

Install the latest release (build 849).

http://scribes.sf.net/download.html

It should work.

Amr Hassan (amr-hassan) said : #4

This is awesome. It works just like I wanted it. Thanks :)

Mystilleef (mystilleef) said : #5

Your welcome. Thanks for the feedback.