The Build plugin adds a Build Output tool view at the bottom and a menu on the menubar. The tool view can be used to configure build target settings, while the menu can be used to perform build, clean and compile actions.
The Build Output tool view has three tabs:
Errors & Warnings
The target settings tab can be used to configure various build targets.
Each target contains four configuration options:
- Working Directory
You can set the path to the project here. Leave this empty to use the directory the current document is located in.
This option lets you define the build command. It is set to make by default.
The option lets you define the clean command. It is set to make clean by default.
- Quick Compile
This option lets you define the quick compile command. It is set to gcc -Wall -g %f by default.
One can create a new target by using the button. The button can be used to make a copy of an existing target. To delete a target, use the button.
The Errors & Warnings tab lists the errors and warnings generated by the last command.
Each line contains a message and the file name and line number if available. Clicking on the error or warning takes you to the appropriate file and places the cursor on the corresponding line number.
To navigate to the previous error, press Ctrl+Alt+Left. To navigate to the next error, press Ctrl+Alt+Right.
Runs the Build command for the currently selected target.
Runs the Clean command for the currently selected target.
Runs the Quick Compile command for the currently selected target.
- → (Ctrl+Alt+Left)
Moves the cursor to the location of the previous error in the document.
- → (Ctrl+Alt+Right)
Moves the cursor to the location of the next error in the document.
Select from a list of targets configured by the user.
Switch to the next target configured by the user.