r - GitHub Copilot 与 vscode 中 R 的扩展之间的冲突
问题描述
我无法在 Visual Studio Code 中使用 GitHub 的 Copilot 执行我的 R 代码。R 扩展名是@ext:ikuyadeu.r
问题可能是他们使用相同的命令。
r.runSelection:“Ctrl+Enter”
github.copilot.generate:“Ctrl+Enter”
我编辑了 keybindings.json
{
[
{
"key": "ctrl+enter",
"command": "r.runSelection",
"when": "editorTextFocus && editorLangId == 'r'"
},
{
"key": "ctrl+p",
"command": "github.copilot.generate",
"when": "editorTextFocus && editorLangId == 'python'"
}
]
}
和 settings.json:
"github.copilot.enable" : {
"*": false,
"yaml": false,
"r": false,
"plaintext": false,
"markdown": false,
"python": true,
"jsonc": true
}
但这并不成功。
解决方案
推荐阅读
- python - 整数序列的高效块引导
- google-chrome - 使用 PDF 文件输入的 Chrome Headless print-to-pdf
- python - 如何在matlab中使用python进行模型预测
- sql - 根据每条记录的最近日期连接表
- sharepoint - SharePoint 2016 补丁建议
- python - 折线图未在多页绘图破折号上显示数据
- curl - CompactToken 解析失败,错误代码:80049217 - cURL Microsoft Graph API
- salesforce-lightning - 在 Salesforce 中完成嵌套 IF 公式时遇到问题
- python - 如何使用 to_datetime 永久更改 Pandas 列,以便写入 .json 文件
- c++ - 使用“this”指针返回类成员指针变量的值