eclipsecoding-styleweb-crawlergalileosicstus-prolog

Code style preferences using Sicstus and Eclipse (Spider)


I am currently using Sicstus Prolog VC9 4.1.1 within Eclipse Galileo (Spider). I have a very newbie question: how would I automatically control indentation and in general code style preferences?


Solution

  • Currently there is only one setting that affects coding style, the default indentation level.

    Open the Preferences in Eclipse. Under SICStus Prolog you will find all SPIDER-related preferences. There you can also change some of the highlighting preferences.

    More powerful source code formatting is planned.

    (I am one of the SICStus Prolog developers and I am responsible for SPIDER.)