Did you know ... Search Documentation:
Pack logtalk -- logtalk-3.11.2/coding/idea/NOTES.md

This file is part of Logtalk http://logtalk.org/ Copyright 2017 Sergio Castro <sergioc78@gmail.com> and Paulo Moura <pmoura@logtalk.org>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ________________________________________________________________________

Overview

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.

Install or update

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.

Known issues

  • 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.