- Using the Prolog IDE
You can consult prolog files by rightclicking on them in the Project Explorer. The icon of a file will be changed, depending on the state of the file.
The PDT offers the possibility to mark prolog files as “entry points”. These are typically loadfiles, which consult all important Prolog files of the project.
To mark a file as entry point right click on it and select “Prolog Developement Tools” → “Mark as Entry Point”. If you use the automated load file creation, the generated file will be an entry point by default (you can change this in the generation wizard).
If a file is marked as entry point you have the following advantages:
In the preferences for the PDT Console you can change the behaviour on the restart of a process. One of the options is, to only reconsult files which are marked as an entry point. This should be the default behaviour. You can have a “fresh” and empty process and still have all important predicates, without reconsulting them manually.
An external file is a file that are not stored in or imported into your Eclipse workspace.
If an external file is opened in the Prolog editor (e.g. via edit/1), a reference to it will be included into the “External Prolog Files” project, thus making it virtual part of your workspace. This provides the opportunity to set breakpoints, show warning and error markers etc. also for external files.
Th “External Prolog Files” project only contains links. Deleting these links doesn't affect the real files. It is safe to delete any file / folder in it or even the complete “External Prolog Files” project.