Indentation problems

Vladimir Prus ghost at cs.msu.su
Fri Jul 8 08:17:04 UTC 2005


Amilcar do Carmo Lucas wrote:

> On Thursday 07 July 2005 11:39, Vladimir Prus wrote:
>> Generally, Emacs has a advanced system of indentation, where each line
>> has "syntantic context", and one can specify relative intent for each
>> syntactic context. Is there anything equal in KDevelop?
> Take a look at Settings -> KDevelop setings -> source reformatter.

It looks like in SVN HEAD, it's Settings -> Konfigure KDevelop ->
Formatting.

Well, it does not look like I'd like.

1. It's not possible to say that in

   namespace boost { namespace grammar {

KDevelop should not break second namespace to a new line.

2. If I type the above and type "Enter", cursor is positioned at column 0,
not indented. 

3. I can configure Kate to insert 4 space characters when typing Tab, but
that's not quite enough. Say, in emacs, if I type

   class Foo : public Base1,
       public Base2

and type type on the second line, both "public" are aligned:

   class Foo : public Base1,
               public Base2

How do I get the same effect in KDevelop? In KDevelop, I get:

   class A : public B1,
                    public B2
            {}
        ;

and there's no option to configure it that I see.

- Volodya




 






More information about the KDevelop-devel mailing list