Re: [PHP] auto indentation

2010-04-28 Thread Paul M Foster
On Wed, Apr 28, 2010 at 09:52:16AM +0100, Ashley Sheridan wrote: > > I set it to use tabs of 4 spaces wide and use c-style indenting. It > doesn't automatically indent as I write, but I find it a good thing that > an editor doesn't change anything I write, as that is where problems can > occur!

Re: [PHP] auto indentation

2010-04-28 Thread David McGlone
On Wednesday 28 April 2010 05:00:34 Ashley Sheridan wrote: > On Tue, 2010-04-27 at 23:25 -0400, Paul M Foster wrote: > > On Tue, Apr 27, 2010 at 10:29:33PM -0400, David McGlone wrote: > > > On Tuesday 27 April 2010 19:00:29 D. Dante Lorenso wrote: > > > > On 4/27/2010 3:55 PM, Ashley Sheridan wrote

Re: [PHP] auto indentation

2010-04-28 Thread Gary .
On Tue, Apr 27, 2010 at 10:33 PM, David McGlone wrote: > I'm using Kate Since you've already had a suggestion to switch to Eclipse, I'll say (+ emacs php-mode (+ '"(define-key php-mode-map (kbd "RET") 'newline-and-indent)")) Or something like that. -- PHP General Mailing List (http://www.php.

Re: [PHP] auto indentation

2010-04-28 Thread Ashley Sheridan
On Tue, 2010-04-27 at 23:25 -0400, Paul M Foster wrote: > On Tue, Apr 27, 2010 at 10:29:33PM -0400, David McGlone wrote: > > > On Tuesday 27 April 2010 19:00:29 D. Dante Lorenso wrote: > > > On 4/27/2010 3:55 PM, Ashley Sheridan wrote: > > > > On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrot

Re: [PHP] auto indentation

2010-04-28 Thread Ashley Sheridan
On Tue, 2010-04-27 at 22:23 -0400, David McGlone wrote: > On Tuesday 27 April 2010 16:55:45 Ashley Sheridan wrote: > > On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote: > > > Hi everyone. > > > > > > I got a quickie LOL > > > > > > is there a way to auto indent code. I'm using Kate and I hav

Re: [PHP] auto indentation

2010-04-27 Thread Paul M Foster
On Tue, Apr 27, 2010 at 10:29:33PM -0400, David McGlone wrote: > On Tuesday 27 April 2010 19:00:29 D. Dante Lorenso wrote: > > On 4/27/2010 3:55 PM, Ashley Sheridan wrote: > > > On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote: > > >> Hi everyone. > > >> I got a quickie LOL > > >> is there a

Re: [PHP] auto indentation

2010-04-27 Thread Programming Guides
On Tue, Apr 27, 2010 at 9:15 PM, Paul M Foster wrote: > On Tue, Apr 27, 2010 at 08:52:09PM -0500, Programming Guides wrote: > > > On Tue, Apr 27, 2010 at 6:00 PM, D. Dante Lorenso > wrote: > > > > > On 4/27/2010 3:55 PM, Ashley Sheridan wrote: > > > > > >> On Tue, 2010-04-27 at 16:33 -0400, David

Re: [PHP] auto indentation

2010-04-27 Thread David McGlone
On Tuesday 27 April 2010 19:00:29 D. Dante Lorenso wrote: > On 4/27/2010 3:55 PM, Ashley Sheridan wrote: > > On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote: > >> Hi everyone. > >> I got a quickie LOL > >> is there a way to auto indent code. I'm using Kate and I have it set so > >> the tab i

Re: [PHP] auto indentation

2010-04-27 Thread David McGlone
On Tuesday 27 April 2010 16:55:45 Ashley Sheridan wrote: > On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote: > > Hi everyone. > > > > I got a quickie LOL > > > > is there a way to auto indent code. I'm using Kate and I have it set so > > the tab is only 4 spaces, but I was wondering if there

Re: [PHP] auto indentation

2010-04-27 Thread Paul M Foster
On Tue, Apr 27, 2010 at 08:52:09PM -0500, Programming Guides wrote: > On Tue, Apr 27, 2010 at 6:00 PM, D. Dante Lorenso wrote: > > > On 4/27/2010 3:55 PM, Ashley Sheridan wrote: > > > >> On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote: > >> > >>> Hi everyone. > >>> I got a quickie LOL > >

Re: [PHP] auto indentation

2010-04-27 Thread Programming Guides
On Tue, Apr 27, 2010 at 6:00 PM, D. Dante Lorenso wrote: > On 4/27/2010 3:55 PM, Ashley Sheridan wrote: > >> On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote: >> >>> Hi everyone. >>> I got a quickie LOL >>> is there a way to auto indent code. I'm using Kate and I have it set so >>> the >>>

Re: [PHP] auto indentation

2010-04-27 Thread D. Dante Lorenso
On 4/27/2010 3:55 PM, Ashley Sheridan wrote: On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote: Hi everyone. I got a quickie LOL is there a way to auto indent code. I'm using Kate and I have it set so the tab is only 4 spaces, but I was wondering if there was an easier way than to have to h

Re: [PHP] auto indentation

2010-04-27 Thread Ashley Sheridan
On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote: > Hi everyone. > > I got a quickie LOL > > is there a way to auto indent code. I'm using Kate and I have it set so the > tab is only 4 spaces, but I was wondering if there was an easier way than to > have to hit the tab key 1x then 2x the

Re: [PHP] auto indentation

2010-04-27 Thread shiplu
There is a command "indent" in your kde. Check the manual Shiplu Mokaddim My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu SUST Programmers, http://groups.google.com/group/p2psust Innovation distinguishes bet ... ... (ask Steve Jobs the rest) -- PHP General Mailing List (htt

[PHP] auto indentation

2010-04-27 Thread David McGlone
Hi everyone. I got a quickie LOL is there a way to auto indent code. I'm using Kate and I have it set so the tab is only 4 spaces, but I was wondering if there was an easier way than to have to hit the tab key 1x then 2x then 3x then 2x then 1x to create nice laid out code like this: - -