【问题标题】:Why does github copilot autosuggesions are not autofilled in .md files?为什么 .md 文件中没有自动填充 github copilot 自动建议?
【发布时间】:2021-10-29 12:27:27
【问题描述】:

我正在尝试在 .md 文件中创建 github README,我可以看到 github 操作建议,但是当我尝试按选项卡自动填充时,它不起作用。具有 .js 扩展名的工作文件也是如此

我不想通过按 CTRL+ 输入并从建议中粘贴来复制过去

【问题讨论】:

标签: github github-copilot


【解决方案1】:

禁用 Markdown All in One,它将起作用或保持 Markdown all in one 遵循以下步骤:

  • 更新您的 keybindings.json (Ctrl+Shift+p)

  • 查找首选项:打开键盘快捷键 (JSON)),添加以下内容:

    [ { “键”:“标签”, “命令”:“markdown.extension.onTabKey”, "when": "editorTextFocus && !inlineSuggestionVisible && !editorReadonly && !editorTabMovesFocus && !hasOtherSuggestions && !hasSnippetCompletions && !inSnippetMode && !suggestWidgetVisible && editorLangId == 'markdown'" }, { “键”:“标签”, “命令”:“-markdown.extension.onTabKey”, "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus && !hasOtherSuggestions && !hasSnippetCompletions && !inSnippetMode && !suggestWidgetVisible && editorLangId == 'markdown'" } ]

【讨论】:

    猜你喜欢
    • 2017-04-21
    • 2013-06-08
    • 2018-03-30
    • 2015-04-28
    • 2022-12-20
    • 2021-04-08
    • 2013-02-10
    • 1970-01-01
    • 2021-10-31
    相关资源
    最近更新 更多