如何在 VSCode 中添加 SWL-Prolog 终端?
像 PowerShell 但 SWI-Prolog 终端。
最佳答案
要在 Visual Studio Code 中创建 SWI-Prolog 终端,过程与从 DOS 提示符启动 SWI-Prolog 终端相同,但您只需在 VSC 中创建初始终端即可。
Terminal
> New Terminal
或 Ctrl+Shift+`
swipl
从命令行启动 SWI-PrologMicrosoft Windows [Version 10.0.19041.685]
(c) 2020 Microsoft Corporation. All rights reserved.
C:\Users\Groot>swipl
Welcome to SWI-Prolog (threaded, 64 bits, version 8.3.8)
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software.
Please run ?- license. for legal details.
For online help and background, visit https://www.swi-prolog.org
For built-in help, use ?- help(Topic). or ?- apropos(Word).
1 ?-
如果您打开了一个现有的终端并想添加另一个终端,请在终端的右上角
点击
+
然后在命令提示符 >
输入 swipl
.您的终端选择器现在将添加
swipl
选项。关于visual-studio-code - 如何在 VSCode 中添加 SWI-Prolog 终端?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65274513/