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?
PHP Software - Automatic Indention
Moderator: General Moderators
-
Superman859
- Forum Commoner
- Posts: 47
- Joined: Sun Oct 29, 2006 10:22 am
Hi.
I recommend Eclipse. It's a very strong IDE for PHP. It knows your own class- an variablenames an helps you a lot.
Just download "easyeclipse LAMP": http://www.easyeclipse.org/site/distrib ... index.html, create a new project and start coding
Greetings, Chris
I recommend Eclipse. It's a very strong IDE for PHP. It knows your own class- an variablenames an helps you a lot.
Just download "easyeclipse LAMP": http://www.easyeclipse.org/site/distrib ... index.html, create a new project and start coding
Greetings, Chris
-
Superman859
- Forum Commoner
- Posts: 47
- Joined: Sun Oct 29, 2006 10:22 am