Intellij

Almost all professional Java development teams use IntelliJ IDEA, an IDE (integrated development environment) for Java and other JVM languages. We also use IntelliJ in CS1332 and CS2340. In the second half of CS1331 we will use IntelliJ so that you’ll be prepared to hit the ground running in your next courses or internships.

Get Started

  1. Get IntelliJ
    • As a student or faculty member, you can get all of JetBrains’s products free. The easiest way is to visit JetBrains’s student license page, click “APPLY NOW” and use your university email address. You’ll get an email within a few minutes with instructions on downloading the products in their “Product Pack for Students.”
  2. Learn IntelliJ

Add a Few Customizations

Keyboard Shortcuts

The more you keep your fingers on the keyboard, the faster you’ll be. Here are some shortcuts that I commit to memory.

Note: for many commands, especially “switching” commands, adding a SHIFT reverses the direction.

macOS

More to come …

Playing Nicely with Emacs

Emacs’s keybindings are far different from modern applications, and many of these keybindings cause problems (e.g., M-w in Emacs copies the selection, but in macOS it closes the current window). I tried Intellij’s Emacs keymap and didn’t like it. It may be easier to simply modify Emacs’s keybindings to match Intellij’s. Here are some Emacs config files to give you a start:

More to come …

Miscellaneous Tips