The tasks are performed in the order they appear in the list.Ĭlick this icon to add one of the following available tasks: In this area, you can specify tasks to be performed before starting the selected run/debug configuration. Ĭlick this button to sort configurations in the alphabetical order. To remove grouping, select a folder and click. Then, to move a configuration into a folder, between the folders or out of a folder, use drag or and buttons. If only a category is in focus, an empty folder is created. To create a folder, select the configurations within a category, click, and specify the folder name. You can group run/debug configurations by placing them into folders. Move into new folder / Create new folder. Click this button to save a temporary configuration as permanent. The button is displayed only when you select a temporary configuration. Note that you create copies of default configurations. Note that you cannot delete default configurations.Ĭreate a copy of the selected run/debug configuration. The tree view of run/debug configurations has a toolbar that helps you manage configurations available in your project as well as adjust default configurations templates.ĭelete the selected run/debug configuration. idea directory, you can save the configuration to any other directory within the project.īy default, it is disabled, and IntelliJ IDEA stores run configuration settings in. However, if you do not want to share the. Save the file with the run configuration settings to share it with other team members. This is helpful when a run configuration consumes a lot of resources and there is no good reason to run multiple instances. Specify a name for the run configuration to quickly identify it among others when editing or running.Īllow running multiple instances of this run configuration in parallel.īy default, it is disabled, and when you start this configuration while another instance is still running, IntelliJ IDEA suggests stopping the running instance and starting another one. When you edit a run configuration (but not a run configuration template), you can specify the following options: NODE_DISABLE_COLORS: Set to 1 to disable colors in the REPL. NODE_MODULE_CONTEXTS: Set to 1 to load modules in their own global contexts. NODE_PATH: A :-separated list of directories prefixed to the module search path. The definitions of variables are displayed in the Environment variables read-only field with semicolons as separators, for example: To discard a variable definition, select it in the list and click. To define a new variable, click and specify the variable name and value. Click Browse to the right of the field and configure a list of variables in the Environment Variables dialog, that opens: In this field, specify the environment variables for the Node.js executable file, if applicable. In this field, specify the path to the gulp package installed locally, under the project root. To solve this problem, specify -harmony as a Node parameter of the default Gulp.js run configuration. However, if your Gulpfile.js is written in ECMA6, by default IntelliJ IDEA does not recognize this format and fails to build a tasks tree. This is done silently and does not require any steps from your side. Technically, IntelliJ IDEA invokes Gulp.js and processes Gulpfile.js according to the default Gulp.js run configuration. In the default configuration, type -harmony in this text box to have IntelliJ IDEA build a tasks tree according to a Gulpfile.js written in ECMA6. In this text box, type the Node.js-specific command-line options to be passed to the Node.js executable file. You can also choose another configured local or remote interpreter or click and configure a new one. In most cases, IntelliJ IDEA detects the project default interpreter and fills in the field itself. If you choose the Project alias, IntelliJ IDEA will automatically use the project default interpreter from the Node interpreter field on the Node.js page. In this field, specify the Node.js interpreter to use. Learn more from the Gulp official website. Use the format -, for example: -env development. In this text box, specify the arguments for tasks to be executed with. To run several tasks, type their names in the text box using blank spaces as separators. To run one task, select it from the drop-down list. Select the path from the drop-down list or click the button and choose the file from the dialog box that opens. In this field, specify the location of the Gulpfile.js file to retrieve the definitions of the tasks from.
0 Comments
Leave a Reply. |