uwlogo

CS 241e - Foundations of Sequential Programs (Enriched)


Home
Piazza Info
Assignment Info
IntelliJ IDEA Setup
Assignments
Marmoset Link
Exam Information
Tutorials
Marks

General Information
Personnel

Resources

IntelliJ IDEA Setup

  1. Download and install the Community version of IntelliJ IDEA.
  2. When you launch Intellij IDEA, a window will prompt you for import settings. Select "Do not import settings" and click OK.

  3. You will be asked to accept the terms and conditions and configure the user interface settings in the Customize IntelliJ IDEA wizard, which allows you to select a theme, keymap, and other settings.

    At the end of that dialog, in the Featured plugins section, install the Scala language plugin.

    When the plugin is installed, click on Start using IntelliJ IDEA.

  4. From the IntelliJ IDEA start screen, click on Import Project.

    Select the cs241e directory where you unzipped the assignment skeleton code and click Open.

  5. Select Import project from external model and select SBT.

  6. Next, under Project JDK, if no JDK is selected, click on New.... Then select JDK and choose where the JDK has been installed.
    • If you are using your own computer, select the directory in which you installed the JDK.
    • If you are using linux.student.cs.uwaterloo.ca, select the directory /usr/lib/jvm/java-8-openjdk-amd64.

    Click Finish.

  7. To view the project structure, click on Project near the upper left corner of the window.

  8. To ensure that the set up is correct, go to the test/src folder and right click on A1Tests. You should see an option to run the test (if you just imported your project it may take a minute or two for IDEA to download some required libraries before this option will appear).

    It is normal for this test to fail with a NotImplementedError until you complete part of Assignment 1.