NOTE: This extension is currently UNMAINTAINED. Feel free to fork it and make your own version.
The CLIPS IDE extension provides an IDE-like experience for the CLIPS programming language inside Visual Studio Code.
Improved terminal experience over the CLIPS REPL by including several features:
- Command Editing (moving, removing characters, etc.)
- Command History (
up/down arrow keys
) - Clear Line (
Ctrl+U
) and Clear Screen (Ctrl+L
)
- Facts
- Agenda
- Instances
These views update their state automatically after each command.
This extension contributes the following settings:
-
clips.clipsPath
: Specifies a custom path for the CLIPS command-line executable (CLIPSDOS) (empty by default).-
If empty, the extension tries to auto-detect its path:
-
In Windows, it looks in the "Program Files" directory for a folder that includes the word "CLIPS", and then for the "CLIPSDOS.exe" file inside it.
-
If the one above fails, or it's a different OS, it assumes that a command called "clips" exists within the system's PATH env.
-
-
-
clips.defaultEnvironmentViews
: Selection of which views should be opened whenever theOpen CLIPS Environment
command is used (thefacts
andagenda
views are enabled by default).
-
clips.defaultStrategy
: Specifies the default strategy used by CLIPS when running. (This value will only be set on startup) (depth
by default). -
clips.logLevel
: Sets the log level for the extension (off
by default). Only useful for testing/debugging purposes. -
clips.updateViews
: Controls whether views should be automatically updated after each command (true
by default).
Fixed logs not being shown on VSCode's output channel
Added new log level: "error"
Updated project dependencies
Added progress bar when updating views is taking longer than usual (more than a second)
Added setting to set a custom path for the CLIPS executable
Added setting to set the default strategy used by CLIPS when each session starts
Added command to set the strategy for the current session
Added button for updating each view manually
Added setting to toggle views auto updating their state after each command
Fixed error message not showing up if the CLIPS executable is not found (in Linux)
The extension finally works on Windows 🎉
This means that issue #1 was fixed.
Updated README to add the newly created issue (#1).
Fixed - Error message was not being shown when the CLIPS terminal failed to spawn.
Found issue - The CLIPS terminal does not spawn on Windows, even if the path is correct.
Fixed - Views not updating when they were hidden in a tab and then selected.
Improved the system that makes views close when CLIPS is closed.
(It is not perfect due to VSCode limitations, but it now works in more cases than before.)
Initial release of CLIPS IDE.