#Snippets

1 messages · Page 1 of 1 (latest)

floral cobalt
#

@distant narwhal

distant narwhal
#

Haven't gotten a chance to dig into this yet, will update the thread when I do.

floral cobalt
#

@dreamy quarry here's a way you can try to disable tab accepting a completion. you'll have to change your vscode keybindings, this is a snippet I pulled from the default keybinding json:

{ "key": "tab",                   "command": "editor.action.inlineSuggest.commit",
                                     "when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorTabMovesFocus" },

you'll need to add a && !inSnippetMode (which comes from https://code.visualstudio.com/api/references/when-clause-contexts)

#

i haven't tested it, but it may be able to disable the suggestion too if you add a section for the editor.action.inlineSuggest.trigger command