PHP Software - Automatic Indention
Posted: Mon Oct 30, 2006 11:02 pm
I looked elsewhere but this seems to be the closest forum for the post.
I've recently started studying PHP and MySQL.
Does anyone have any recommendations on which software to use when coding PHP? I come from having a strong foundation in Java and personally like the software that colors everything, automatically indents, and shows which brackets go together (usually by highlighting the area).
I have Dreamweaver, which I've been using so far for PHP, but it doesn't seem to automatically indent (unless that is a preference). One other thing that makes it more difficult for me is it does not color between curly brackets.
For example, in a lot of software for Java, if I click next to the final curly bracket, it highlights everything in between it and the opening bracket. This is helpful when you start nesting statements in case you accidentally leave off a bracket somewhere.
if (true)
{
print something;
}
Dreamweaver doesn't mark which brackets go together or indent automatically (default anyways - I looked for a preference but couldn't find anything).
I only ask because I recently ran into a parse error. The error was said to be on line 65 or so, but it was actually a missing bracket back in the around line 20 I believe. The parse error wasn't very helpful, so I had to search the whole thing to find the error.
Does anyone have any recommendations?
I've recently started studying PHP and MySQL.
Does anyone have any recommendations on which software to use when coding PHP? I come from having a strong foundation in Java and personally like the software that colors everything, automatically indents, and shows which brackets go together (usually by highlighting the area).
I have Dreamweaver, which I've been using so far for PHP, but it doesn't seem to automatically indent (unless that is a preference). One other thing that makes it more difficult for me is it does not color between curly brackets.
For example, in a lot of software for Java, if I click next to the final curly bracket, it highlights everything in between it and the opening bracket. This is helpful when you start nesting statements in case you accidentally leave off a bracket somewhere.
if (true)
{
print something;
}
Dreamweaver doesn't mark which brackets go together or indent automatically (default anyways - I looked for a preference but couldn't find anything).
I only ask because I recently ran into a parse error. The error was said to be on line 65 or so, but it was actually a missing bracket back in the around line 20 I believe. The parse error wasn't very helpful, so I had to search the whole thing to find the error.
Does anyone have any recommendations?