配置vscode(电脑vscode如何设置)
配置vscode + scheme在win上编程;
准备工具:
scheme下载地址; http://github.com/cisco/ChezScheme/releases ,
下载 ChezScheme9.5.8.exe 双击安装,
然后把你安装好后的文件目录的执行文件夹路径
添加到 系统环境变量 的 Path 里,
之后在cmd里输入scheme看能否执行,
显示scheme的版本号就说明正确,
``````````````````````````````````````````````````````````````````````````````````````````
vscode下载地址; http://code.visualstudio.com/Download ,
建议选择 .zip 版本, 便携方便,
````````````````````````````````````````````````````````````````````````
安装两个插件; Code Runner 与 vscode-scheme ,
``````````````````````````````````````````````````````````````````````````
配置vscode的json文件:
按 Ctrl+Shift+P 后输入 Open Setting (json) 打开json文件 ,
在 "code-runner.executorMap" 键的值里添加
"scheme": "scheme --script $fullFileName", 注意逗号.
在 "code-runner.executorMapByFileExtension" 键的值里添加
".scm": "scheme",
".ss": "scheme", 注意结尾的逗号.没有的话会报错.
`````````````````````````````````````````````````````````````````````````````````````````````````````````````````
还有一个条件是在 系统区域和语言 设置里 非Unicode程序的语言 选项里
要勾选 使用 UTF-8 提供全球语言支持 这个框, 否则vscode输出和终端显示中文汉字会乱码,
win7好像没有这个选项, win8 win10以上才有的样子,
`````````````````````````````````````````````````````````````````````````````````````````````````````````````````
好了, 接下来新建一个 .ss 或 .scm 结尾的文件, 在里面输入
(display "你好世界")
按 Ctrl+Alt+N 执行 , 即可看到求值结果 .