IntelliJ IDEA 2017.1 Help

Compiling Target

On this page:

Compiling all source files in a target

To compile all source files in the specified target

  1. Select a file, module, or package.
  2. On the main menu, choose Build | Rebuild 'target', or press Ctrl+Shift+F9.

Tips and tricks

When performing compilation, note that:

  • When called from the editor, this method compiles the current file.
  • You can compile any module separately. All modules the current one depends on will be compiled as well.

To cancel the process, do one of the following:

  • Middle-click on the progress bar
  • Click /help/img/idea/2017.1/closeRedCircle.png
  • Press Ctrl+F2, and select the process from the pop-up menu.
    /help/img/idea/2017.1/build_progress_bar.png

See Also

Last modified: 18 July 2017