-
Notifications
You must be signed in to change notification settings - Fork 34.9k
Closed
Labels
debtCode quality issuesCode quality issuesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insiders
Milestone
Description
See
vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatCurrentLine.ts
Lines 243 to 247 in 77dee8c
// DEBT - I cannot use `model.onDidChangeContent` directly here | |
// https://github.com/microsoft/vscode/issues/242059 | |
const emitter = store.add(new Emitter<void>()); | |
store.add(model.onDidChangeContent(() => emitter.fire())); | |
observableFromEvent(emitter.event, () => model.getVersionId()).read(r); |
I had to do the weird workaround with the extra emitter because the onDidChangeContent event seems to be special
Metadata
Metadata
Assignees
Labels
debtCode quality issuesCode quality issuesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insiders