[prev in list] [next in list] [prev in thread] [next in thread]
List: quanta
Subject: Re: [Quanta] PHP Indenting
From: "Maciej Trebacz" <maciej.trebacz () gmail ! com>
Date: 2006-03-15 5:21:13
Message-ID: 69773bbf0603142121n3472273do993bef74ae3c03b1 () mail ! gmail ! com
[Download RAW message or body]
On 3/15/06, John L Vifian <jongleur@liripipe.net> wrote:
> What I would like, and had pretty close in windows via UltraEdit was something
> that could do something as follows:
>
> [...]
>
> After typing the first { and Enter the line should indent to here:
>
> <?php
> $j = 0;
> while($j <50)
> {
> |
>
> after typing the } closing and Enter the bracket would be set to match the
> opening bracket's position. Thus:
>
> {
> $j++;
> echo $j, "<br>\n";
> }|
>
> after hitting Enter becomes:
>
> {
> $j++;
> echo $j, "<br>\n";
> }
> |
Yeah, that's exactly what I have in mind :).
> I have thought of trying to write a script for an action which would insert an
> opening and closing bracket each on their own lines indented with the same
> amount of space as the current line, and with a line between and the cursor
> set on that line one indent in.
That would've been even cooler!
--
Best Regards,
Maciej "MaV" Trębacz
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic