Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>PrologNew to Visual Studio Code? Get it now.
Prolog

Prolog

Peng Lv

|
264,979 installs
| (2) | Free
Prolog language support for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Install

Press F1, type ext install prolog.

Select Language mode

Since the file extension of Prolog has conflicts with Perl, so please click language mode at the right bottom of Visual Studio Code and pick Prolog

Snippets

Shortcut:

  • dcg generates ${1:clause} --> ${0:body}.
  • rule generates ${1:functor_name}(${2:argument}) :-\n\t${0:%% body}
  • face generates ${1:functor_name}(${2:argument}).
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft