X

Geertjan's Blog

  • January 18, 2015

Gulp for NetBeans IDE (Part 1)

Geertjan Wielenga
Product Manager

The first part of Gulp support is complete. When the plugin is installed, the 'gulpfile.js', if it exists, is parsed and all the Gulp tasks are shown as child nodes of a new Gulp node in the Projects window:

Creating the above was trivial. Initially I got into all kinds of problems when I started by creating a new file type for Gulp files. But the solution ended up being much simpler than that. Using the NetBeans Project Type Extension Tutorial, I registered a new org.netbeans.spi.project.ui.support.NodeFactory for the org-netbeans-modules-web-clientproject project type.

All the code is here:

github.com/GeertjanWielenga/Gulp

The next step I'm working on is being able to run those Gulp tasks from within NetBeans. Once that's done I'll publish the plugin in the NetBeans Plugin Portal.

Join the discussion

Comments ( 1 )
  • Chris Monday, January 19, 2015

    Very nice, waited for this. I really like the feature with the nodes under the Gulp file. Is it possible to do exactly the same for the grunt file? I added a ticket for this here: https://netbeans.org/bugzilla/show_bug.cgi?id=245010

    So like:

    - Grunt

    |_ jshint

    |_ uglify

    |_ build

    Cheers,

    Chris


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.