A local codebase often arrives as a folder of source files. On a Linux desktop, IntelliJ IDEA can open that folder as a project so you can browse its files and work on them together.

The project window can appear while IntelliJ IDEA is still analyzing the files. Project analysis, called indexing in earlier releases, prepares code navigation and completion.

Opening a trusted project can run code from its configuration or build scripts. The trust prompt lets you approve the project on its own or extend trust to other projects in its parent folder.

Steps to open a project in a JetBrains IDE:

Start on IntelliJ IDEA Home with a local source folder to open for the first time. The example opens ~/IdeaProjects/hello, which contains Hello.java at its root. In the default layout, the main menu is under the Main Menu button in the window header and the Project tool window opens with the project.

  1. Click the Main Menu button in the window header.
  2. Choose the File > Open… menu item.

    PyCharm also opens local project folders from File > Open.

  3. Enter the full path to your project folder in the location field, replacing any existing value.

    The pictured folder is /home/reader/IdeaProjects/hello.

  4. Click OK in Open File or Project.

    The trust prompt's Trust all projects in 'IdeaProjects' folder checkbox applies to the parent folder in the example. A clear checkbox limits approval to the project you open.

  5. Click Trust Project if the prompt names your project, you trust its source, and the folder-wide trust checkbox is clear.

    If the name is wrong or the source is uncertain, Don't Open cancels the request. An already trusted folder can open without this prompt.

  6. Wait for the progress bar to disappear from the status bar at the bottom of the project window.

    The status bar can show Detecting project structure… or Analyzing project to enable smart features while the IDE works. If Air or Junie's Accept and Install offer appears in the editor, you can leave it on screen and continue to step 7 when analysis finishes.

  7. Verify that the Project tool window shows the folder you opened and an expected source file under it.

    The example shows ~/IdeaProjects/hello as the root and lists Hello.java as Hello.

Share this guide