I use Intellij Idea for my Java development. In fact, that IDE is one of the main reasons I so often come back to using Java for many of my projects. I also use Wicket and am starting to work with it a lot more than I have in the past. While Wicket and Idea get along reasonably well, there's a lot of room for improvement in their relationship. That means a Wicket plugin for Idea.
Nick Heudecker has done an admirable job with WicketForge (http://code.google.com/p/wicketforge/), however 1) when I try to use that plugin, I constantly get exceptions and 2) it doesn't do some of the the things I'm really interested in. This is no criticism of Nick. If I recall one of his messages correctly, he developed this plugin for his own use and it was extremely generous of him to publish the code as open source. He's even made pretty regular improvements to it, but at least for me personally, it doesn't meet my needs for a Wicket plugin. Now, I can't, in good conscience just pop on to this mailing list and ask someone out of the goodness of their heart to "get to it!", so I'm willing to start the ball rolling on an incentive in the form of a bounty; one that I hope other Wicket and Idea users will contribute to as well. First, though, I'd like to come to some kind of agreement about a feature set for such a plugin so that when I post the bounty I can be as specific as possible in its criteria. Here is a list of my most desired features in the order of priority: 1) Navigation between template and code - I would like the ability to move in both directions between a template and it's Java code. This means in an overall sense (e.g. moving back and forth between a top level page class and the HTML file) and in a more granular sense (e.g. moving back and forth between an HTML element with a wicket:id and the Wicket Java Component with the same id). I should be able to bind a keystroke to this action. It should preferably be the same keystroke in both directions. 2) Code completion for wicket:message keys - I would like code completion for the <wicket:message> "key" attribute. It should work something like the XML code completion when there isn't a DTD or schema available. It would be based on other keys already available on the page. So for instance if I had already created a <wicket:message> with a key of "userform.detailfieldset.username.label" I would expect that when I created another <wicket:message> and started typing "us" in the key attribute, code completion would allow me to expand what I typed similar to what happens when typing package names. 3) Properties file intention - I would like an Idea intention that would allow me to automatically add <wicket:message> keys to a resource properties file. By default this would add it to a properties file with the same name as the template (even creating the properties file if necessary), however it should be configurable to use an application-wide properties file if that's what the user prefers. When adding the key to the properties file it should be placed in a logical manner according to it's period separated name so the key "userform.detailfieldset.username.label" would be placed just after other keys with the name "userform.detailfieldset.username" or "userform.detailfieldset.username". The intention should leave the cursor after the "=" in the properties file. 4) Code completion on wicket tags and attributes - I would like code completion for all wicket tags (e.g. <wicket:extend>, <wicket:message>, etc.) in HTML templates. This is something of a lower priority as Idea's "Live Template" functionality takes much of the pain out of not having code completion for items in the wicket namespace. This doesn't help with the error/warning issue, though. 5) Validation for wicket namespace and attributes in hTML template - In a similar vein, I would like wicket attributes like "wicket:id" and wicket tags like <wicket:message> to not show up as either errors or warnings in my HTML templates. This is just off the top of my head. I'm sure there are more and perhaps even some that should be higher on the priority list. Once some kind of feature set is agreed by Idea users here in the mailing list, I'll kick off the bounty on one of the software bounty sites and contribute $200. I know it's not much but I'll try to get my company to pony up a few dollars as well. That along with whatever contributions anyone else would like to make will hopefully be an incentive for someone. Maybe there's someone out there who's been wanting to do this for a while and the bounty will simply be the motivation to finally do it. I don't know, but I don't figure there's any harm in trying. Please post your own ideas and list your preferred priority for the features. -Matt -- View this message in context: http://www.nabble.com/Intellij-Idea-Plugin-Bounty-tp21958284p21958284.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org