Change:
<ins> /*--------------------------------------------------------------------------------------------- *  Copyright (c) Microsoft Corporation. All rights reserved. *  Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { IRendererMap } from './list'; import { IDisposable } from 'vs/base/common/lifecycle'; import { append, emmet as $, addClass, removeClass } from 'vs/base/browser/dom'; export interface IRow { domNode: HTMLElement; templateId: string; templateData: any; } function getLastScrollTime(element: HTMLElement): number { var value = element.getAttribute('last-scroll-time'); return value ? parseInt(value, 10) : 0; } function removeFromParent(element: HTMLElement): void { try { element.parentElement.removeChild(element); } catch (e) { // this will throw if this happens due to a blur event, nasty business } } export class RowCache<T> implements IDisposable { private cache: { [templateId:string]: IRow[]; }; private scrollingRow: IRow; constructor(private renderers: IRendererMap<T>) { this.cache = Object.create(null); this.scrollingRow = null; } /** * Returns a row either by creating a new one or reusing * a previously released row which shares the same templateId. */ alloc(templateId: string): IRow { let result = this.getTemplateCache(templateId).pop(); if (!result) { const domNode = $('div'); const content = append(domNode, $('.content')); const renderer = this.renderers[templateId]; const templateData = renderer.renderTemplate(content); result = { domNode, templateId, templateData }; } return result; } /** * Releases the row for eventual reuse. The row's domNode * will eventually be removed from its parent, given that * it is not the currently scrolling row (for OS X ballistic * scrolling). */ release(row: IRow): void { var lastScrollTime = getLastScrollTime(row.domNode); if (!lastScrollTime) { removeFromParent(row.domNode); this.getTemplateCache(row.templateId).push(row); return; } if (this.scrollingRow) { var lastKnownScrollTime = getLastScrollTime(this.scrollingRow.domNode); if (lastKnownScrollTime > lastScrollTime) { removeFromParent(row.domNode); this.getTemplateCache(row.templateId).push(row); return; } if (this.scrollingRow.domNode.parentElement) { removeFromParent(this.scrollingRow.domNode); removeClass(this.scrollingRow.domNode, 'scrolling'); this.getTemplateCache(this.scrollingRow.templateId).push(this.scrollingRow); } } this.scrollingRow = row; addClass(this.scrollingRow.domNode, 'scrolling'); } private getTemplateCache(templateId: string): IRow[] { return this.cache[templateId] || (this.cache[templateId] = []); } garbageCollect(): void { if (this.cache) { Object.keys(this.cache).forEach(templateId => { this.cache[templateId].forEach(cachedRow => { const renderer = this.renderers[templateId]; renderer.disposeTemplate(cachedRow.templateData); cachedRow.domNode = null; cachedRow.templateData = null; }); delete this.cache[templateId]; }); } if (this.scrollingRow) { const renderer = this.renderers[this.scrollingRow.templateId]; renderer.disposeTemplate(this.scrollingRow.templateData); this.scrollingRow = null; } } dispose(): void { this.garbageCollect(); this.cache = null; this.renderers = null; } } </ins>  No newline at end of file

Discussion:
VSCode Version: 0.10.11 OS Version: Win10 Steps to Reproduce: this key binding: a code file (C#, JS, TS) "publ" followed by the space key Expected: The text should be (with a space at the end) Actual: The text is , no autocompletion occurred. Note: "acceptSelectedSuggestion" without the caret still works
Looking thru the default bindings, I noticed this binding at the very bottom of the file: Pressing does not autocomplete in TypeScript either.
I can confirm it doesn't work on TypeScript due to the context key not being set.
There is two problems: commit introduced a regression in that it turns around the boolean condition (missing ) ended up with having the command two times when working on the acceptOnEnter config setting
Despite the fixes above this still happens. The reason seems to be that uses a timeout. That gives the triggerOnCharacter command a chance to run (and clear the previous suggest model) such that accept doesn't work
the timeout and like breakage happened in
Oh, the missing ! Ugh, sorry about that. The was just a leftover. I made a change that enables me to simply remove it. :+1: can you see whether the now works?
works