Skip to content

Instantly share code, notes, and snippets.

@euberdeveloper
Created February 5, 2022 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save euberdeveloper/f1a4a687e558532e424f0852fc8b04ed to your computer and use it in GitHub Desktop.
Save euberdeveloper/f1a4a687e558532e424f0852fc8b04ed to your computer and use it in GitHub Desktop.
On VSCode, the markdown extension is in conflict with the TAB of github copilot, so it does suggestions but you can not accept it. This fixes it.
// Add this to the shortcuts of VSCode
[
{
"key": "tab",
"command": "markdown.extension.onTabKey",
"when": "editorTextFocus && !inlineSuggestionVisible && !editorReadonly && !editorTabMovesFocus && !hasOtherSuggestions && !hasSnippetCompletions && !inSnippetMode && !suggestWidgetVisible && editorLangId == 'markdown'"
},
{
"key": "tab",
"command": "-markdown.extension.onTabKey",
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus && !hasOtherSuggestions && !hasSnippetCompletions && !inSnippetMode && !suggestWidgetVisible && editorLangId == 'markdown'"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment