This is useful for example when you work with Doctrine 1.1, as it generates those for your models to give code-assist for the model properties.īut while NetBeans gives you its support for is a bit shaky. For example, it supports the declaration that isn’t supported by Zend Studio. NetBeans’ PHP documentor support is very good as well. those little + signs that you can use to make funcs and comment blocks smaller) works reliably, unlike in Zend Studio where it can screw up and display your code totally wrong if you use the folding feature, which is luckily only a rendering glitch. NetBeans even does some of the things better than Zend Studio – which is definitely an achievement.įor example, the code-assist for builtins displays more information, and links to PHP manual. Supports jumping to the declaration of a variable/method/class? Yep.ĭid I forget anything? Feel free to point it out!.Supports snippets/templates for quick inserting of function/class stubs etc.? Yep.Let’s you easily rename variables/methods/classes with a refactoring tool? Yep.Does above for variables, methods, methods’ parameters and all? Yep.Displays phpdoc information in code-assist? Yep.Code-assist for custom functions and classes? Yep.Code-assist for builtin PHP functions? Yep.NetBeans, however, does about 95% of what Zend Studio does. Zend Studio for Eclipse has a very good PHP editor, and other IDEs with PHP support that I’ve tried (such as Komodo) usually fall very far from it. This is of course the most important part. For example, you can easily rename a variable or a method in your class, so that it gets renamed everywhere in your code where it’s used. NetBeans also has refactoring support for PHP – something that I’ve only seen before in Zend Studio. Other PHP related functionality it provides are things such as templates – when you type func, it can autocomplete an empty function for you, fast PHPDocumentor docblock comment creation, code-assist for custom PHP classes based on the docblocks, including what variables their methods take etc. It does all the usual tricks you’d expect, like tabs in the editor, syntax highlight, PHP function code assist etc. What features does NetBeans 6.5 have for PHP developers? How does it compare against Zend Studio for Eclipse?Īt the general level, NetBeans is quite similar to most other IDEs: You get a project view on the left, an outline of the things in the current file under that, an editor on the right and a task/problem view below the editor. I had earlier seen some quick shots of how the support was, and it seemed like a good contender for big names like Zend Studio. During the weekend, I tried out NetBeans 6.5 and its new PHP related functionality.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |