On Wed, Apr 28, 2010 at 09:52:16AM +0100, Ashley Sheridan wrote:

<snip>

> 
> 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! 

<snip>

I've had this behavior with most every editor I've had. I lived with it.
However, when I went to vim, I found out that it will automatically
indent braces and code properly. I thought, "Gee, that's nice. Save me
some work". But as it turns out, it's saved me a lot of debug time. When
the indenting goes wonky in vim, I know I've failed to close a brace
somewhere, or put too many in. It has about the same benefit to me as
syntax highlighting (which ensures I don't misspell key words).

Paul


-- 
Paul M. Foster

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to