Version v1.95 (Sep , 2018)

   Version v1.95 (Sep , 2018)

I-Pascal IDE Installation InstructionsHow to Install

How to install

The plugin can be installed over IntelliJ IDEA Community Edition as well as Ultimate Edition starting from version 13.xx. Here you can click "Browse repositories" button to install the plugin from official plugin repository.

Or use "Install plugin from disk" to install the latest version. The plugin will be activated after IDEA restart.

There are also other useful plugins such as version control integration, XML support and so on.

Project and module creation

Project in IDEA corresponds to Delphi project group and IDEA module corresponds to Delphi or Lazarus project.

To create a new project select "Create New Project" at welcome screen. Then choose "Pascal" at left and click "Next".

Here you can specify project name and directory where project files will be located. Click "Finish" to create project.

SDK setup

SDK represents a compiler and accompanying tools and settings.

Select File => Project Structure in menu to open project settings and go to "SDKs" screen. Click "+" icon and select "Free Pascal SDK" or "Delphi SDK". Then select SDK home directory. It's a directory where compiler directories such as "bin" and "units" are located.

Usually the directory is preselected and you only have to click "OK".

Please note that .ppu decompilation will work with FPC 2.7.x and above.

When the SDK is created you can see its settings:

  • Classpath tab is used to add libraries in compiled form. Some RTL libraries are added by default.
  • Sourcepath tab is not used yet.
  • Additional compiler options - these options will be passed to compiler each time when compilation is triggered.
  • All conditional defines specified here with "-dXXX" option will be taken in account while working with code within the IDE.

Module setup

Select File => Project Structure in menu to open project settings and go to "Modules" screen.

Here you can see a list of modules within you project.

Module has several important settings:

  • Sources: Content root(s) - directory where you can select subdirectories containing sources.
  • Paths: a module-specific output path can be specified here.
  • Dependencies: Here SDK and other libraries which module depends on can be specified.
  • Settings: Main file is a file which contains main program module. It is used for module building and running.

(C) 2013-2018