Posted by drupalprojects on November 6, 2008 at 5:45pm
Hi
I'm in the process of creating Eclipse module which will simplify drupal module creation.
For now it providing a wizard where you can choose module name, description and some hooks that needs to be implemented in this module.
I will provide it in a week or so.
If you're using eclipse for drupal development, fell free to post your wishes and feature requests.
Thanks
P.S.: if such eclipse plugin already exists, let me know.
Comments
This sounds great
This sounds great. Will this be for Drupal 5 or 6 or both?
I'm not aware of any existing Eclipse plug-in that does this, though there are other tools like Modulator (Perl) and Module Builder (Drupal module). I think Chris Charlton is also working on an AIR application.
Wicked
Sounds pretty awesome!
That will be fantastic!!! In
That will be fantastic!!!
In the meantime, anyone knows how to use the autocomplete with Eclipse + Drupal functions? Is that possible. How?
Thanks in advance!
Autocomplete is possible
Autocomplete is possible with any of PHP plugins: PDT or PHPClipse.
Drupal API integration
Would be great.
I was also wondering if this would be dependent on a particular PHP plugin. I'm using PDT, which I think is the future of PHP development in Eclipse, as it's now part of the Eclipse foundation and Zen is behind it.
Lev Tsypin
ThinkShout, Inc.
thinkshout.com | twitter.com/levelos
We are not planning to make
We are not planning to make it dependant on any particular PHP plugin yet.
Stay tuned :)
I prefer PHPeclipse to eclipsePDT - here's why
I still prefer PHPeclipse to eclipsePDT - here's why (assuming the author is correct. I'd love to know more about the story). both are pretty great projects, but I'd love to know the motivation behind PDT - and why it wasn't simply a fix of the previous phpeclipse project.
I also would suggest netbeans 6.5 for php development - its even got a Drupal plugin for NetBeans PHP from Sun for Drupal development. I'm not certain of Zend's motivation, but Sun has a pretty good track record at this point with FOSS (openoffice, java, mySQL, open solaris, virtualbox, netbeans, etc)
--
mike stewart { twitter: @MediaDoneRight | IRC nick: mike stewart }
There is also an ongoing
There was this discussion on making a plugin for eclipse : http://groups.drupal.org/node/9595
There is also an ongoing discussion of building a collection of code template for Drupal / Eclipse here : http://groups.drupal.org/node/2663#comment-56688
Alex
www.ineation.com
Alex
www.ineation.com
I've been thinking about a
I've been thinking about a Drupal Eclipse plugin lately. Some of my ideas:
I see this post has gotten a
I see this post has gotten a bit dated. DrupalProject, have you made any headway on the plugin development? I have designed several eclipse plugins for inhouse use and I'd be more then willing to help out with development of a Drupal Plugin. Let me know if you need any help and/or if I should start development on my own.
Have a good one.
Is there a need?
netbeans has a plugin already for drupal.
I use eclipse most times, but I wanted to justify the need to develop an Eclipse plugin.
And what is the best practice for setting up drupal with eclipse.
That is a very good
That is a very good question.
I think the need is there. It will help simplify the development process and have the API available in an IDE. As you said, you use eclipse most times, as I think a lot of developers who use an IDE to develop Drupal(not based on statistics). I guess I am biased towards Eclipse, I have tried to use NetBean a couple of times to develop Java apps for various clients, but Eclipse has been with me too long, so I usually just switch back for all devs.
Best practices have been laid out in the documentation (take a look at Drupal Module development docs). If you are talking more along the lines of development process in Eclipse, I guess it is more dependent on the developer and on if you are developing a module, template, or customizing the template.php.
Templates are pretty simple to setup in PDT or phpeclipse, but adding Setup wizards, code completion and Drupal version specific documentation would be a nice touch. I am hoping to get the go ahead from my boss to begin development in mid-Feb with a release by DrupalCon or possibly a Code Sprint at the Con.
I would be interested in working with others on this project, as my understanding of the Eclipse plugin system is specific to Eclipse 3.2 and I have shifted to Eclipse 3.4 for the majority.
Keep me posted.
Thanks for your prompt response.
As you equally said "I guess I am biased towards Eclipse" As soon as you get a node from your boss to proceed do let me know. I am equally busy on a project right now that needs me developing modules and overriding some core drupal modules for a project we are currently handling.
I visioned doing this as a breeze subsequently, and an Eclipse module will suffice. I have used PDT and I have one installed on my development environment, I will be ready to assist in this project especially in its documentation as I find Drupal documentation as one the poorest open source documentation. A good IDE I found recently is Codelobster and it pretty much easy to use.
I equally will love to work with other developers in overhauling the documentation. My problem has always been time, I will find out time.
So pls do keep me posted, and let me see what you have now. if you have any.
a feature wish
This would be very cool. One feature I would love to see is the ability to more easily find / trace callbacks... with "F3 - Open Declaration", and also "Open Call Hierarchy" (a feature in the Java version of Eclipse that shows you every place that calls a particular function.
Some examples:
'page callbaback' => 'baz' - click baz, and have some function key jump to the function baz () { declaration
theme('node', $n) - A couple of commands -- jump to theme_node(), jump to node.tpl.php, or preprocess functions.
baz_user() - command to show all calls to module_invoke_all('user'). Maybe a command to search for implementations of a particular hook.
any updates on this?
im just beginning to learn module development for drupal, but have been using eclipse for years.
Anything to smooth out the learning curve would be welcomed.
Upload your Eclipse plug-in
I'd like to try out your plugin for Eclipse if you have it still.
Chris Charlton, Author & Drupal Community Leader, Enterprise Level Consultant
I teach you how to build Drupal Themes http://tinyurl.com/theme-drupal and provide add-on software at http://xtnd.us
willing to help, too - esp. with documentation
I'd love to hear about any progress on this, too. And can help!
@weez: I'm with you -- there is a lot of work to be done with the documentation. I'm just getting an Eclipse dev environment set up for Drupal work and am feeling the pain.
I'm willing to help with any documentation on this, and in whatever other ways I can as well. (I'm an old Smalltalk programmer just coming in to Drupal. I've been poking around at it for a few years, but am now getting serious with it. So my Drupal and PHP knowledge is not yet very deep, but the concepts and such are clear to me. And the last time I used Eclipse was when it was first released. Just a few things have changed since then.)
I worked with bekasu to revise [#75242] and hope to add more Eclipse documentation to d.o. as I can.
XTND.US Drupal Eclipse plugin
I did a post yesterday about the Drupal plug-in I built for Eclipse PDT. I'm looking for early testers and would love to pick up some of the enthusiastic people from this post.
http://groups.drupal.org/node/39938
Chris Charlton, Author & Drupal Community Leader, Enterprise Level Consultant
I teach you how to build Drupal Themes http://tinyurl.com/theme-drupal and provide add-on software at http://xtnd.us
XTND.US
I like the way in which you set up module and theme types seperately. I missed the patch extension, which is quite common when using drupal, though not necessarily drupal. You might want to add that as well so eclipse doesn't start a seperate text editor every time. Also check out this nice write up by mediacurrent for eclipse configuration: http://www.mediacurrent.com/blogs/and-running-eclipse-drupal-development.
.patch may be any language
My fear of adding .patch, which is a good idea, is the fact .patch would not be limited to just PHP.
I pinged the author of the article about my extension. I know the early release on new years was tiny in features, but it had to get started and I didn't want to be in a long development cycle like with the Dreamweaver extension suites for Drupal also by XTND.US.
Chris Charlton, Author & Drupal Community Leader, Enterprise Level Consultant
I teach you how to build Drupal Themes http://tinyurl.com/theme-drupal and provide add-on software at http://xtnd.us