This plugin provides syntax highlighting for Logtalk and some basic editing features for IntelliJ IDEA:
- Parentheses matching.
- Multiline terms and comments folding and unfolding.
- Automatic line and block commenting/uncommenting of selection using IntelliJ standard shortcuts.
More information at the plugin site.
To install the latest version of this plugin in IntelliJ IDEA follow these steps:
- Go to the IntelliJ IDEA preferences.
- Select Plugins and then click on the Browse Repositories ... button.
- Type logtalk in the search box to find it. Select it and click on Install or Update.
-
The grammar still needs some work. Particularly, it does not show as errors few sentences that should not be considered valid.
-
Syntax errors may occur in well constructed terms that are very long (e.g., a compound with a huge argument list or a list term with lots of elements). To fix it, set the JVM option grammar.kit.gpub.max.level to a bigger value than its default 1000.