garaemon / vscode-emacs-tab

BSD 3-Clause "New" or "Revised" License
14 stars 11 forks source link

Conflicts with editor.tabCompletion #11

Closed baxelrod-bdai closed 2 years ago

baxelrod-bdai commented 2 years ago

This extension makes editor.tabCompletion not work. It would be great if the emacs-style indentation only happened when the suggestions window wasn't open.

baxelrod-bdai commented 2 years ago

Never mind, modifying the keybindings.json like this resolved the issue. Perhaps you should add this to the suggested keybindings.json snipit?

    {
        "key": "tab",
        "command": "emacs-tab.reindentCurrentLine",
        "when": "editorTextFocus && !inQuickOpen && !inSnippetMode && !suggestWidgetVisible"
    }