The editor.tabCompletion option is the closest thing currently available:
By default, tab completion is disabled. Use the
editor.tabCompletion
setting to enable it. These values exist:
off
- (default) Tab completion is disabled.on
- Tab completion is enabled for all suggestions and repeated invocations insert the next best suggestion.onlySnippets
- Tab completion only inserts static snippets which prefix match the current line prefix.
(Emphasis mine)
... except that the first Tab
press hides the suggestion window.
I did some digging about editor.tabCompletion
, and I found that closing the suggestion window is part of the tab completion's option original design, and that while other users have asked about an option not to close the suggestion window or specifically YouCompleteMe-style behaviour, that this is currently not supported.