gideon state, upcoming kdevelop's kwrite patches

Kuba Ober kuba at mareimbrium.org
Wed May 29 23:43:46 BST 2002


Is gideon usable at +- kdevelop 2.1's level?
If not, would it be a big job to make it so?
I'm considering switching to gideon from kdevelop, and I'm worried whether it 
would take a lot of work to make gideon useable.

BTW I'm finishing up my kdevelop patches. The newLine() and tab() [autoindent 
and tab indent functionality] are finished, I'm looking into whether del 
needs tweaking or not.

I've accomplished the following (bad things first)
1. Break one translation (autoindent -> Enter indents, for consistency)
2. Add 3 new translatable strings (Indent options, Indent braces)
3. Editor options dialog has Indent options separated into their own groupbox 
to make things more readable.
4. (cursor position is marked with ".") in-between-braces indentation works, 
ie
{.}
followed by newline, gives this
{
   .
}
5. indentation of parenthesised multiline parameter lists works correctly:
if (a ||
    b) {.
followed by newline, gives this
if (a ||
    b) {
  .
}
instead of
if (a ||
    b) {
      .
    }
6. tab always works; it can do two things:
- align the line with lines that are above it, like
  dummy();
abc.
followed by tab, gives this
  dummy();
  abc.
- increase indentation level, like
  dummy();
  abc.
followed by tab, gives this
  dummy();
    abc.
Beforehand, it was impossible to use tab to increase indentation, and that 
sucked -- here's the stock 2.1 behaviour:
abc
def.
followed by tab does not change anything
7. either spaces or tab character can be used for indentation, and this stuff 
is completely transparent. You can choose different values for indentation 
and tab width; spaces will be used to compensate where needed. Actually, this 
allows linux kernel style indentation (tabs indent, spaces align things like
parameter lists), which is tolerant of changing tab-widths without breaking 
the visual layout.

This code should be portable to kate as it's pretty generic I hope. I'll turn 
it into kate patches sometime later.

I should have patches tomorrow. They are heavily tested (I use my modified 
kdevelop).

I'd love to see kdevelop 2.1.2 with those things in, it would be a nice way of 
finishing up the development of that branch by finally making the indentation 
work for most people.

I'm also going to explain indentation features in the documentation, along 
with updating the section about Editor options.

Please note that I may not be able to contribute much more to Gideon (alas, I 
can work on indentation for kate all right), since I consider myself an 
end-user, rather than gideon developer.

Cheers, Kuba

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list