IntelliJ/Pycharm

Almost all professional Java and Scala development teams use IntelliJ IDEA, an IDE (integrated development environment) for Java and many other languages, including Python and Go. Most professional Python programmers use PyCharm, or IntelliJ with the Python plugin, which is equivalent to PyCharm. JetBrains has a well-earned reputation for making the best developer tools. It is possible to get much of the same functionality with VS Code by installing several plugins, but the quality of the plugins is usually inferior. Unfortunately, many OSS components are in a perpetual state of partial brokenness.

Get Started

  1. Get IntelliJ IDEA Ultimate or PyCharm Professional (if you’re focused on Python, you may prefer PyCharm because it won’t contain any distractions).

    • 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. If you’re using IntelliJ, install the appropriate plugins, e.g., Python, Go, Java (in IntelliJ, go to Preferences -> Plugins).

  3. Learn IntelliJ or PyCharm.

Customize

  1. Create a command-line launcher by clicking Tools | Create Command-line Launcher…. Then you’ll be able to launch IntelliJ from a command line with idea or PyCharm with charm.

    • You can open IntelliJ or PyCharm for any project by navigating to the project’s root directory in your OS command shell and typing idea . or charm .
    • You can use Light Edit mode by invoking IntelliJ or PyCharm with idea -e or charm -e. Light Edit mode runs the IDE without plugins, but with all the basic editing, formatting and syntax-aware features. It’s nice for edits of configuration files and other files that don’t belong to an IntelliJ or PyCharm project.
  2. Add a few customizations. These are my personal modifications, which I find make IntelliJ more pleasant to use. Go to IntelliJ | Preferences … (File | Preferences … on Windows or Linux) and:

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 (many of these are explained in Discover IntelliJ IDEA.

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

Here are a few shortcuts that I commit to memory.

macOS

And once you feel comfortable you can level-up with IntelliJ IDEA Pro Tips.

Miscellaneous Tips