Using features in the SICStus Prolog pane
Versions
Author
A knowledge of some of the features of the SICStus Prolog pane can help you work more effectively and efficiently.
SICStus Prolog 4.2.0
Peter Hancox
Eclipse 3.6.1 (Helios)

School of Computer Science
University of Birmingham

SPIDER 0.0.4
24 September 2012

 

Autocompletion - Ctrl + space

This ensures greater accuracy and saves time by suggesting predicates that you have already defined.

Pressing Ctrl with the space bar will produce a list of suggested predicates from your program. In this small example, there is only one procedure previously defined so there is not a lot of choice.

Autocompletion

 

The SICStus pane's menu

The SICStus pane includes its own menu on the top right-hand side of the pane.

 

sicstus_menu

  1. scroll Scroll
  2. Switch scrolling off/on (default is on).

     

  3. clear Clear
  4. Clear the contents of the SICStus pane

     

  5. interupt Interupt
  6. Interupt the current running process. This is the way to stop infinite processes caused by programmer's errors.

     

  7. restart Restart
  8. Restart Prolog.

     

  9. minimize_maximize Minimize or maximize the pane