Jedit code formatter?

Yes, I've been using the Ruby plug in ... But I'm looking for any code
formatter... Can't find it.

Peter J. Fitzgibbons
Applications Manager
Lakewood Homes - "The American Dream Builder"(r)
Peter.Fitzgibbons@Lakewoodhomes.net
(847) 884-8800

···

-----Original Message-----
From: Belorion [mailto:belorion@gmail.com]
Sent: Tuesday, August 02, 2005 3:41 PM
To: ruby-talk ML
Subject: Re: Jedit code formatter?

On 8/2/05, Peter Fitzgibbons <Peter.Fitzgibbons@lakewoodhomes.net> wrote:

Hi all,

I'm using Jedit, is there a ruby code formatter hiding somwhere in
there ?

Check out http://www.jedit.org/ruby/\. Among other things (ie the nice
Ruby plugin) you'll find a link to a Ruby edit mode XML file.

Matt

My mistake, when you said code formatter I thought syntax
highlighting. Sorry, I don't know of anything that'll take Ruby code
and format it for you.

Matt

···

On 8/2/05, Peter Fitzgibbons <Peter.Fitzgibbons@lakewoodhomes.net> wrote:

Yes, I've been using the Ruby plug in ... But I'm looking for any code
formatter... Can't find it.

The Ruby jEdit plugin can format code as you type it. To do this set
the "enter" key to be a shortcut for the action "Auto indent and
insert end". Then when you hit enter, the plugin will indent the new
line if needed, it'll also add the 'end' keyword if necessary.

At present there isn't a feature to indent a preexisting Ruby file.

Cheers,
Rob

···

On 8/2/05, Peter Fitzgibbons <Peter.Fitzgibbons@lakewoodhomes.net> wrote:

Yes, I've been using the Ruby plug in ... But I'm looking for any code
formatter... Can't find it.

Peter J. Fitzgibbons
Applications Manager
Lakewood Homes - "The American Dream Builder"(r)
Peter.Fitzgibbons@Lakewoodhomes.net
(847) 884-8800

-----Original Message-----
From: Belorion [mailto:belorion@gmail.com]
Sent: Tuesday, August 02, 2005 3:41 PM
To: ruby-talk ML
Subject: Re: Jedit code formatter?

On 8/2/05, Peter Fitzgibbons <Peter.Fitzgibbons@lakewoodhomes.net> > wrote:
> Hi all,
>
> I'm using Jedit, is there a ruby code formatter hiding somwhere in
> there ?

Check out http://www.jedit.org/ruby/\. Among other things (ie the nice
Ruby plugin) you'll find a link to a Ruby edit mode XML file.

Matt

Belorion said:

My mistake, when you said code formatter I thought syntax
highlighting. Sorry, I don't know of anything that'll take Ruby code
and format it for you.

VIM will. But if you've never used VIM it has quite a learning curve. But
once you do learn it you will never turn back.

Ryan

VIM will. But if you've never used VIM it has quite a learning curve. But
once you do learn it you will never turn bac

I learned, but I come back to Jedit, and emacs....

···

--
Claudio Bustos Navarrete
Psicólogo
clbustos@surnet.cl

Claudio Bustos Navarrete <clbustos@surnet.cl> writes:

VIM will. But if you've never used VIM it has quite a learning curve. But
once you do learn it you will never turn bac

I learned, but I come back to Jedit, and emacs....

Emacs can do it too. :slight_smile:

C-x h C-M-\

···

Claudio Bustos Navarrete

--
Christian Neukirchen <chneukirchen@gmail.com> http://chneukirchen.org