Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Gulp Snippet Pack
Gulp Snippet Pack

Gulp Snippet Pack

Mads Kristensen

|
43,052 installs
| (1) | Free
A snippet pack to make you more productive working with the Gulp task runner
Download

A snippet pack to make you more productive working with the Gulp task runner.

This extension contains code snippets for Gulp from the awesome Gulp Snippets extension for VS Code.

Snippets demo

This extension ships a bunch of useful code snippets for the JavaScript editor. Get an overview from theCode Snippet Manager in Visual Studio located under the Tools top level menu.

Snippet manager

Snippets

gulp

var gulp = require('gulp-name');gulp.task("$name$", function () {    // content});

gulpvar

var gulp = require('gulp');

gulpsrc -Docs

gulp.src('scriptFiles')  .pipe(name('file'))

gulptask -Docs

gulp.task('name', function() {    // content});

gulptaskdep -Docs

gulp.task('name', ['tasks'], function() {    // content});

gulpdest -Docs

.pipe(gulp.dest('folder'));

gulpwatch -Docs

gulp.watch('file', ['tasks']);

gulpwcb -Docs

gulp.watch('file', function(event) {  console.log(' File '+event.path+' was '+event.type+', running tasks...');});

gulptaskfull

gulp.task('name',['tasks'], function() {    gulp.src('files')        .pipe(plugin())        .pipe(gulp.dest('folder'));});

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

License

Apache 2.0

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft