Reputation: 4452
I have started to use Dreamweaver CS5 for PHP coding. The PHP syntax highlighting works fine but I don't get code completion and navigation to work. For instance in other editors if I press the CTRL key while the mouse cursor is over a variable or function then I can jump to its definition with a mouse click. Another problem is that when I define a class, usually a hint with a list of methods should appear after inserting "myinstance->" which is not the case in Dreamweaver. Does Dreamweaver support this? If yes, how can I enable this functionality? Does this also work if the class definition is in a separated file which is referenced with "include"?
Regards,
Upvotes: 1
Views: 764
Reputation: 23
Attaching a css file can help. Open a php file -> right click on the page -> CSS Styles -> Attach Style Sheets.. Select your css file. The Code Navigator will be activated
Upvotes: 1
Reputation: 5793
I am using aptana studio based on eclipse but slightly faster than eclipse. It has very nice features such as suggestions, auto-complete, code-formatting, highlighting, showing syntax errors on the fly
Upvotes: 1
Reputation: 31740
Dreamweaver is not a good PHP IDE, other than syntax highlighting it offers little in the way of tools to help a programmer.
I'd recommend NetBeans as a good free IDE for PHP development. Eclipse is also free, but I understand that the latest version doesn't really have a working PHP module so you'll have to use the previous to current version.
Upvotes: 0