casteng / i-pascal

A free Object Pascal language plugin for IntelliJ IDEA
111 stars 34 forks source link
ast completion delphi fpc ide intellij parser pascal syntax-highlighting

Intellij IDEA Object Pascal plugin

Description

Project homepage: http://www.siberika.com/ipascal.htm

A free Object Pascal language plugin for excellent IntelliJ IDEA

Supports integration with Delphi compiler (dcc32) and Free Pascal compilers.

Compatible with IDEA Community Edition as well as Ultimate Edition from version 13.xx and above.

Pascal-specific features currently implemented

As well as other features provided by IDEA

to name a few.

Planned in future releases

Developer environment configuration

Instructions https://www.jetbrains.com/help/idea/2016.3/plugin-development-guidelines.html

Lexer is generated using IDEA JFlex modification.

Parser classes are generated with Grammar Kit plugin.

To generate _PascalLexer class open pascal.flex, right click and choose "Run JFlex generator".

To generate parser classes open pascal.bnf, right click and choose "Generate parser code".

There are JUnit tests. Please ensure the tests passing before creating pull requests.

Other information

Information on how to install and use the plugin is available at I-Pascal homepage.