IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Grunt

Last modified: 10 August 2022

Required plugin: JavaScript and TypeScript

The plugin is available only in IntelliJ IDEA Ultimate, where it is enabled by default.

IntelliJ IDEA integrates with the Grunt JavaScript Task Runner. IntelliJ IDEA parses Gruntfile.js files, recognizing definitions of tasks and targets, shows tasks and targets in a tree view, lets you navigate between a task or a target in the tree and its definition in the Gruntfile.js file, and supports running and debugging tasks and targets.

With IntelliJ IDEA, you can run Grunt tasks from tasks trees in the dedicated Grunt tool window, or using a Grunt run configuration, or as a before-launch task. IntelliJ IDEA shows the result of executing a task in the Run tool window. The tool window shows the Grunt output, reports the errors occurred, lists the packages or plugins that have not been found, etc. The name of the last executed task is displayed on the title bar of the tool window.