Pure Prolog Language SupportA VS Code Extension for Prolog, leveraging a pure Prolog language server. Currently this extension supports SWI-Prolog, and may leverage features native to that implementation. Pull requests are welcome for those that wish to adapt it to support other Prolog implementations. Currently supports the following features, both for the current project source, system libraries, and any installed packages.
This extension is still in an alpha state, and is actively used for developing the Prolog Language Server behind it, please expect bugs and imperfections. If the extension stops working, simply reload the VS Code window. Worst case, check for a rogue Getting StartedThis extension relies upon both an installation of SWI-Prolog, but also the Prolog Language Server. The recommended path for installing the latter is to run Alternatively, one can clone the Git repository for the Prolog Language Server to a local directory from https://github.com/hargettp/prolog_lsp. Once these installations are complete, ensure these settings are configured in VS Code (filter for
After changing these settings, reload the VS Code window, and look for "Pure Prolog Language Server" in the Output window. Note that there may be a few errors logged on startup, usually reflecting syntax errors in SWI-Prolog system libraries. These are benign. |