CS 241e - Foundations of Sequential Programs (Enriched)

Piazza Info
Assignment Info
IntelliJ IDEA Setup
Office Hours

General Information


IntelliJ IDEA Setup

  1. Install the Java JDK if you don't have it installed already (Java SE JDK, at least version 8).
  2. Ensure that jdk/bin is in your PATH environment variable. If you are using Windows, the environment variable settings are accessed by searching "Edit the system environment variables" in the start menu and the dialog looks like this:

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

  5. 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.

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

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

  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.

    If you get an error saying Unable to load a Suite class. This could be due to an error in your runpath. Please click on Invalidate Caches / Restart from the File menu, then click the Invalidate and Restart button to fix it.