Reference Guides For Setup of Various IDEs

An IDE, or Integrated Development Environment, is a tool intended to make the developer’s life a little easier. They typically employ features such as syntax highlighting, code completion, and debugging, among others, to help increase productivity.

Python

PyCharm Community Edition

Navigate to Jetbrains’ Pycharm for Linux download page, and download the tarball. You can download the Community Edition for free!

Follow these instructions for installing the .tar.gz file.

Complete or skip the initial configuration. If you choose ‘OK’ you will be able to enter your password to create a desktop launcher entry for PyCharm.

 

pycharm_setup

If you skipped the configuration, you can still create a desktop entry by selecting ‘Create Desktop Entry’ from the Configure dropdown on the PyCharm Community Edition welcome screen.

pycharm_create_desktop

 

To load the mysite project, select ‘Open’ from the welcome screen and navigate to your mysite directory (mine is here: home/matt/mysite).

Click ‘Create’ then ‘Yes’ to the prompt regarding creation of project from existing sources.

You’ll now see your mysite application files in the project panel!

NOTE: This process will create an .idea directory inside your mysite project directory. If you’re using Git, you can avoid adding this to your repository by adding this line to your .gitignore file. You can read more about how this works in my post The Source, You Must Control!

Line Numbering

One last thing that’s beneficial to set up right away is line numbering. Line numbering is enormously helpful when diagnosing exceptions and errors, as the line number is printed out in the stack trace. Why it’s not on by default is a bit of a mystery!

Access the settings menu via File > Settings. Then under the Editor dropdown, choose General > Appearance.

pycharm-line-numbering_2

 

Java

There are many Java IDEs to choose from, including Eclipse, Spring Tools Suite, jEdit, and IntelliJ. I’ll be using Jetbrains’ IntelliJ IDEA for my tutorials.

 

Installing the IntelliJ IDEA

Navigate to Jetbrains’ IntelliJ for Linux download page, and download the tarball. IntelliJ IDEA is free for use for education purposes!

Follow these instructions for installing the .tar.gz file.

 

Add a Desktop Launcher

On the welcome screen, you can select Configure from the bottom-right and choose ‘Create Desktop Entry’ from the dropdown to allow you to start IntelliJ from the application launcher. You many need to log out of your session and back in before it will appear.

new_project_intelliJ

NOTE: If you get stuck, there are detailed installation instructions inside the IntelliJ directory, named something similar to idea-IC-143.1821.5.txt, which you can read with:

Matthew Odle

Indie dev, autodidactic polyglot, lover of programming, dad, musician, writer, mentor

Join the Discussion