Contents

Introduction

This page contains some useful guides on how to perform certain operations in IntelliJ, such as creating modules and exporting data to a JAR file. Further information can be found on the IntelliJ IDEA 14 help page.

(Back to top)

Modules

For the purposes of this class, think of modules as sub-projects. They provide a nice way for use to separate assignments. For example, for the mini-projects, you should have one IntelliJ project called something like csc261-mini-projects. Then each of the mini-project should be a module in that project.

To create a module in IntelliJ, make sure the project you want to create the module in is open. Then:

The module you just created will appear in the "Package" tree on the left tool window in the IntelliJ editor (make sure you are in Package view and not Project view). Make sure that you select the module in one of those windows before create a new class—this will ensure that your class will be put into that module and not the project at large.

(Back to top)

Creating a JAR

IntelliJ is great for editing projects, but you need to be able to get that code out of IntelliJ so I can see it and grade it. We're going to do that using JAR (Java ARchive) files. For each module (for the mini-projects) or project (for the final project), do the following:

(Back to top)