It was exactly one year ago, when we released NetBeans 6.5, the first version of NetBeans with PHP support. I know that the support is not still perfect (which software is bug free in theses days :) ), but at least NetBeans is known inside the PHP world. One of the evidence is the number of comments that you have written below my latest blog about planing features for next release. I would like to thank everyone who spent a minute and write up a suggestion or an idea.
We would like to implement all things that you mentioned, fix all problems that we know, but we always have to balance between requirements (from users, marketing, management :)) and resources, which are available. I think that almost everybody knows such situation and I don't know a solution, which will satisfied everyone. If you know it, please write me:).
Because there are many comments below the entry, I will try to answer your comments in this post.
I think that the bullet 1 and 3 belongs together and I have wrote about this above. Finding unused CSS selectors it's nice idea and it can be also a part of CSS refactoring. We talked on the meetings about the CSS refactoring, so I hope that it will be done.
What you exactly mean by Improving CSS and HTML palletes? Dreamweaver is viasual tool and NetBeans doesn't have such editor. I always thought that the items for HTML should be a part of code completion, so it can be used without a mouse.
There are some possibilities. For example a few of rules from YSlow can be implemented as hints in the editor. Also the service that compress images can be reused in NetBeans directly. It's basically duplication a part of YSlow functionality. The question is whether it worth for it.
Just to be sure, do you mean PHP classes? We have similar support for Java.Support for Selenium would be great too - built into netbeans (like selenium is built into firefox plugin) and be able to launch and control selenium (to different browsers?!) all from netbeans would be brilliant.
As Tom wrote, there is already Selenium plugin available on the autoupdate. It doesn't have probably "production" quality, but it can be useful. How many of you do you use Selenium for testing?
The support for Zend Framework is on the plan. We also plan to make a support for Cake PHP. The reazon why we implemented the Symfony support as the first one is this voting.
- in HTML editor classes and ids completion (based on project css files)
The code completion of CSS class and ids in HTML is on the plan.
- another thing in HTML and CSS - images browser, for example in img tag.
There is already implemented a file system based code completion for some attributes. So it should be reused for all cases, where it can be useful like in img tag. And it would be useful, if there will be displayed the content of the image in such case.
"For example I use Firebug for "tuning" css and html, because it
allows to change the code directly in Firefox and see the result
instantly. Unfortunately there is no way how to save these changes back
to the sources"
You are right! This will only work for static CSS files and static
HTML files. In fact: this might be a nice addition to Firebug to enable
it to save files, where the URL starts with "file://". Firefox users
will possibly crown you king for that. But I don't think it is linked
to editing PHP files in Netbeans IDE.
I know that this is not linked to editing PHP files. I want to find out features, which will help to a web developer. It doesn't have to be only PHP developer.
BTW: better Smarty support would be great! The existing Smarty editor
doesn't work very well. It reports many valid constructs as errors and
doesn't highlight the code as expected. Also I would like to be able to
add my own modifiers and functions to the auto-completion window.
The Smarty plugin is developed by community. We need to talk about the problems with the author.
I also got a list of all currently available Smarty functions and
modifiers, including parameters, suitable for code-completion. This
list includes standard Smarty functionality and optionally Yana's
Smarty extensions alike.
If you feel like this may help you out with the Smarty editor - just drop me a line and I will send it to you.
Every help is welcome, I need to find out the status of Smarty plugin and look how hard it would be to add such code completion
However: support for Yana could be easily integrated.
All you need is just a hand full of auto-complete templates for XML files and Smarty.
I could write those templates and send them to you, if you like.
I don't know this framework. Probably I should look at this. You can send me the templates. At least we can discuss the support.
BTW: I also got a PHP script that collects all the current class and
function definitions from the PHP manual and generates a fresh file for
code-completion any time you want with no need for updating the IDE.
Again: if you feel that this might be something you want for NetBeans - just drop me a line and I will give it to you.
(Might need a bit of work though to port it to NetBeans as it was written for ConTEXT and PSPad in the first place.)
We have similar scripts, which generates signatures files. Our script is not able to find out the documentation for some classes and function, so probably it would be useful to look at your.
Improved XDebug integration would be nice... doesn't really work well at the moment.
There are many bugs, which come from XDebug itself. So there has to be fixed in XDebug, but still there some problems that can be fixed on NetBeans side.
I would like to see support for git. Almost all of my projects have moved to git.
This is a requirement for the team who develop support for VCSs. There is already a version of plugin for Git on Autoupate Center. I haven't tried it yet.
I'd also like to have the code completion come up automatically, not triggered by a key combo.
Did you try a last dev build of NetBeans 6.8. In the PHP editor it is already there.
Various stability and memory improvements as well for mac - it still doesn't feel as solid as I'd like.
It would be always good to know how to reproduce the problem. You can file an issue to our database.
1. Create a new Class against an existing Interface and create all necesarry methods, like the Getter and Setter Creating Option
In NetBeans 6.8 there is new hint "Implements all abstract method" that does this. You have to place cursor on the line when the class keyword is located.
2. Customising the creating of the Getter and Setter Methods
Yes, this I want to do it from the time, when I implemented this feature:). Unfortunately I haven't time to do it yet.
I would like to see more focus on making the core editing features
more reliable. I'm using the latest dev-version and I am currently
experiencing problems the code templates. Sometimes the work sometimes
they don't. General code completion (ctrl+space) seems to work a lot
better now though.
I agree with you, the editor is the key.
I would also like to have an option to quickly change file-encoding,
and a way to see if NetBeans is treating af file like UTF8, ANSI or
JSP, XML or other files has advantage that the content can keep information about encoding. Unfortunately for PHP it's not true. If I understand correctly you have a project, where the files use different encoding?
But I guess these issues all belong in the "general editor features" category and not really what Petr was asking us about :-)
Yes, my original question was about web developer workflow and how NetBeans could simplify the workflow. I was expecting that there will be a lot of comments that don't answer the original question. But still it expresses what is important for our users.
Ufff, it's 2:30 AM. I need go to the bed. Continue tomorrow.