A VS Code extension which provides language support for Picat.
Features | Configurations | Bug Reporting | Donation
This extension can be installed via extensions viewlet of VS Code or 'Extensions: install extension' command from the command palette. The author notices that it is developed and tested in picat 2.2 and VS Code 1.17 on Debian 9.0 (stretch). It's not yet tested under other environments.
- Predicate templates auto-completion
- flow controls snippets support
- Produced from the documents of picat system
Hovers show Document information about the predicate under the mouse cursor.
The grammar errors (if any) will display in OUTPUT channel when active source file is saved.
- Command 'Picat: run document' (default map to F10) compile the source file in active editor into picat process in the integrated terminal and run the main/0(if any), spawning the picat process if not opened. The picat process provides a real REPL console.
You can open Picat terminal indepently by 'Picat: open picat' command.
Feel free to report bugs or suggestions via issues
Pull requests are welcome.
If this extension works well for you, would you please donate a loaf of bread to encourage me, a freelance programmer, to spend more time to improve it. Any amount is greatly appreciated.