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 IntelliJ IDEA Ultimate or PyCharm Professional (if you’re focused on Python, you may prefer PyCharm because it won’t contain any distractions).
If you’re using IntelliJ, install the appropriate plugins, e.g., Python, Go, Java (in IntelliJ, go to Preferences -> Plugins).
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
.
idea .
or charm .
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.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:
Editor
*
in the boxKeymap (Note: these are macOS-specific.)
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
You can open any file or directory, so you can actually use IntelliJ as a general-purpose text editor. To open an IDEA project, open the project root directory (e.g., directory with a
.idea
subdirectory).
And once you feel comfortable you can level-up with IntelliJ IDEA Pro Tips.