visual-studio-code - 如何在 VSCode 中添加 SWI-Prolog 终端?

标签 visual-studio-code vscode-settings swi-prolog

如何在 VSCode 中添加 SWL-Prolog 终端?
像 PowerShell 但 SWI-Prolog 终端。

最佳答案

要在 Visual Studio Code 中创建 SWI-Prolog 终端,过程与从 ​​DOS 提示符启动 SWI-Prolog 终端相同,但您只需在 VSC 中创建初始终端即可。

  • 使用 VSC 菜单 Terminal > New TerminalCtrl+Shift+`
  • 使用 swipl 从命令行启动 SWI-Prolog
  • Microsoft 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 ?- 
    

    如果您打开了一个现有的终端并想添加另一个终端,请在终端的右上角
    enter image description here
    点击 +然后在命令提示符 >输入 swipl .
    您的终端选择器现在将添加 swipl选项。
    enter image description here

    关于visual-studio-code - 如何在 VSCode 中添加 SWI-Prolog 终端?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65274513/

    相关文章:

    visual-studio-code - Visual Studio代码: How to split the editor vertically

    python - 为什么使用按钮运行脚本时会打开 quote> 提示

    prolog - SWI-Prolog:当 "Non-module file"已加载到某些模块时,无权加载源)

    prolog - 在 SWI-Prolog 中聚合谓词

    ubuntu - 如何在 VSCode 中更改空间的大小?

    bash - Prolog 中从字符串到列表的转换

    git - Visual Studio Code 无法检测到 cygwin git.exe 路径

    go - VSCode 是如何发现这个 Go linting 问题的?我该如何忽略它?

    visual-studio-code - 在 Visual Studio Code 中收到错误消息 'Extension host terminated unexpectedly.'

    visual-studio-code - 如何在 Visual Studio Code 中重新映射默认的 CTRL+f(查找),以便我可以像在 unix/linux 中那样使用 CTRL+f?