如何在Visual Studio Code上运行Scheme? [英] How can I run Scheme on Visual Studio Code?

查看:112
本文介绍了如何在Visual Studio Code上运行Scheme?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何在Visual Studio Code上运行简单的Scheme代码.

I'm wondering how to run simple Scheme code on Visual Studio Code.

我已经安装了一个名为Scheme的扩展,但是下一步是什么.

I've installed an extension called Scheme, but what is the next step..

我没有在扩展名中找到有关如何运行代码或开发人员联系方式的任何详细信息...

I didn't find any details on the extension about how to run the code or the developer's contact ...

推荐答案

VSCode上的编译方案现在非常简单.

Compiling Scheme on VSCode is quite easy by now.

安装代码运行程序扩展程序.

要进行设置:

  • 打开用户设置(默认为 ctrl +,)
  • 搜索代码运行器:按文件扩展名执行器映射.
  • 按在settings.json中编辑"
  • 添加以下内容:
"code-runner.executorMapByFileExtension": {
    ".scm": "racket"
}

  • 直接使用 ctrl + alt + n 运行代码,或使用 Run Code
    • Run the code directly with ctrl + alt + n or from the Command Palette (ctrl + shift + p) with Run Code
    • 这篇关于如何在Visual Studio Code上运行Scheme?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆