1)Go to VS Code's menu: File/Preferences/Settings, you will see User Settings interface.
2)Input prolog in the search area
3)mouse over on "prolog.executablePath" will show up a pen icon
4)mouse over the icon, you see 'Edit' tip
5)click the icon and then 'Copy to Settings' menu
6)edit the path on the right editor to where your 'swipl' locates, e.g. C:/Program files/swipl/bin/swipl in Windows.
2)Input prolog in the search area 3)mouse over on "prolog.executablePath" will show up a pen icon 4)mouse over the icon, you see 'Edit' tip 5)click the icon and then 'Copy to Settings' menu 6)edit the path on the right editor to where your 'swipl' locates, e.g. C:/Program files/swipl/bin/swipl in Windows.
Originally posted by @arthwang in https://github.com/arthwang/vsc-prolog/issues/4#issuecomment-365147941