We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24a94ce commit d13a5f8Copy full SHA for d13a5f8
src/onCompletionAccepted.ts
@@ -38,17 +38,6 @@ export default (tsApi: { onCompletionAccepted }) => {
38
39
if (/* snippet is by vscode or by us to ignore pos */ typeof insertText !== 'object') {
40
const editor = getActiveRegularEditor()!
41
- if (item.tsEntry.source) {
42
- await new Promise<void>(resolve => {
43
- vscode.workspace.onDidChangeTextDocument(({ document }) => {
44
- if (editor.document !== document) return
45
- resolve()
46
- })
47
48
- await new Promise(resolve => {
49
- setTimeout(resolve, 0)
50
51
- }
52
53
const documentation = typeof item.documentation === 'object' ? item.documentation.value : item.documentation
54
const dataMarker = '<!--tep '
0 commit comments