Build

To build your project, you need to add and run the build command.

C, C++, C#, JAVA, Go, and Arduino projects must be built after you write the code to get an executable.

Add and run Build commands

This guide will show you how to add or run build commands.

  • Click [Add build command] by hovering your mouse cursor over the wrench icon in the top-right toolbar.

  • Add a default build command by right-clicking the Build item on the [Commands] tab. Default build commands support C, C++, Java, JSP, Maven, Gradle, Go, .Net, C#, Swift, and Arduino (UNO, NANO).

  • Run the build command you added by double-clicking the Build Items sub-element of the [Commands] tab, and then click the [Run] button at the bottom right of the command window.

  • Right-click a file and click [Build] > [Build selected file] to build and run the selected file.

The following is a list of extensions that can be built with a selected file build.

  • .c, .cpp, .cxx

  • .cs

  • .go

  • .java

  • .jsp

  • pom.xml

  • .swift

  • .gradle

  • .kt

  • .scala

  • .m

Build and run setting

You can set new options when building and running builds.

  1. To set build options, click [Project] > [Properties].

  1. The Project Properties pop-up window opens, showing a list of projects under Build/Run Settings. Depending on the type of plugin (programming language), the items that can be set appear. For normal build/run, the path to each item must exist in the actual project. Also, the paths you set below are all relative to the project root.

Build settings for each stack

All changes can be reverted to the initial state by pressing the Revert to Default Settings button. You can apply your custom build/run options with the Apply button. The options are also applied when you press the OK button. If you don't want to apply the changes after making them, press Cancel or revert to the default settings and press OK.

C/C++

JAVA

Python

Ruby

JSP

PHP

.NET

Spring-Maven

Last updated