Mail Archives: djgpp/1997/12/29/08:38:25
Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De> replied to
Fábio Diales da Rocha:
>> That and some minor inconcistences on the keyboard mapping and the
>> intelligent identing (remember, you can identify a programmer by the way he
>> idents is code, so very obtrusive intelligent identing is very irritating)
>> stop RHIDE from being the perfect IDE.
>You can change the kb mapping wildly to your free will. The indenting
>is in fact not what I personally like, but mostly consistent.
>I like
> if (whatever){
> foo();
> }
> else{
> bar();
> }
>
>whereas RHIDE supports
> if (whatever)
> {
> foo();
> }
> else
> {
> bar();
> }
>
>but this is a matter of personal preferences...
Currently RHIDE HELPS to indent in the following ways:
[Intelligent C indent ON]
if (whatever)
{
do_some_thing;
do_other;
}
else
do_it;
or
[Intelligent C indent OFF, Tabs ON set to 3 spaces]
if (whatever)
{
do_some_thing;
do_other;
}
else
do_it;
or
if (xxx)
{
do;
do;
}
else
do;
and why not?:
if (xxxx){
do;
do;
}
else{
do;
do;
}
[Note: I wrote all with the editor used by RHIDE, I removed the tabs
after typing to avoid confutions]
Only the first style makes it helping the user A LOT so of course
is "very obtrusive intelligent identing", the rest can be achived
with small effort, and if you configure the pseudo-macros you'll
get a very good speed-up for ANY indent style.
Additionally the sources are available and anybody can contribute
with a new indent routine.
If anybody wants an special indentation supported s/he must
consider sending to me a full detailed description of the behavior
expected and I'll consider it.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -