Hi there, does anybody know if there is an extension or solution out there that allows Dreamweaver CS3 (Or Earlier, as they might work on CS3 too) to do code-hinting/completion when typing things? Basically the way it does for CSS when you’re in a CSS file for example…
I use Dreamweaver (CS3) and it provides syntax-highlighting and code hints for PHP.
There is a configuration option (that I believe sets PHP by default) to select the ‘languages’ you wish to use. Check the documentation (I do not have DW loaded on this machine; can’t look for you).
ParkinT, thanks for that, I’ve learned that uses Ctrl+Space when you are in a code block to bring them up.
Finally, one last question, is there a way that I can call user-created variables and functions/classes, simmilar to what Zend Studio does? For example if I created $myvar and I needed to use it, as I would start typing it would come up in the auto-complete frame. Keeping in mind that Zend is made specifically for PHP, whereas Dreamweaver is a swiss-army knife of sorts which might not carry such in-depth functionality, there’s no harm in asking, right? :),
Oh wow, I used DW CS3 for the syntax-highlighting, but I didn’t know about the function lookup when hitting Ctrl+Space. Awesome! Thanks.
There is a list of declared functions in the context menu in code view as well.
You might check the Dreamweaver Exchange but I don’t think that DW can do that with user defined classes and functions the way Zend and PHPed do. DW has a pretty extensive API for extending it, but I think that is probably beyond it’s capabilities.