Automatic Indetation Control

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
User avatar
Lawrence Dol
Posts: 8
Joined: Thu Oct 02, 2003 2:22 pm
Location: Kirkland, WA, USA
Contact:

Automatic Indetation Control

Post by Lawrence Dol »

I would like to suggest that the rules for automatic indentation be externally defined. We use a style of brace indentation that does not including dropping the trailing brace back one level.

TextPad supports only:

Code: Select all

    public static void myFunction() {
        ...
    }
and I would like to have:

Code: Select all

    public static void myFunction() {
        ...
        }
Another common style that is precluded is:

Code: Select all

    public static void myFunction() 
        {
        ...
        }
At the very least a separate checkbox each for whether to indent the opening '{' and the closing '}' would be nice.
User avatar
s_reynisson
Posts: 940
Joined: Tue May 06, 2003 1:59 pm

Post by s_reynisson »

This is sometimes implemented with "Expand/Collapse blocks of text"
or "Folding", feel free to vote for it here.
Then I open up and see
the person fumbling here is me
a different way to be
Jason Shallcross
Posts: 13
Joined: Tue Sep 02, 2003 2:43 pm
Location: Brighton, East Sussex
Contact:

Indentation

Post by Jason Shallcross »

I love the collapsing block idea...

And Lawrence I totally agree with you, it would be really nice to be able to use automated indentation, I use the least popular form, eg:

Code: Select all

public static void myFunction() 
        { 
        ... 
        } 
User avatar
jeffy
Posts: 323
Joined: Mon Mar 03, 2003 9:04 am
Location: Philadelphia

Re: Indentation

Post by jeffy »

Jason Shallcross wrote:I use the least popular form
What's wrong with you!? :lol:

Just kidding. :' )
Post Reply