editorcontextDummy
filip mertens 2 years ago
parent 640c8af011
commit 0d58c07136
  1. 4
      libs/remix-ui/editor/src/lib/providers/completionProvider.ts

@ -125,7 +125,7 @@ export class RemixCompletionProvider implements languages.CompletionItemProvider
// } // }
// brute force search in all nodes with the name // brute force search in all nodes with the name
if (!nodes.length || 1) { //if (!nodes.length || 1) {
const nodesOfScope = await this.props.plugin.call('codeParser', 'getNodesWithName', last) const nodesOfScope = await this.props.plugin.call('codeParser', 'getNodesWithName', last)
console.log('NODES WITHE NAME ', last, nodesOfScope) console.log('NODES WITHE NAME ', last, nodesOfScope)
for (const nodeOfScope of nodesOfScope) { for (const nodeOfScope of nodesOfScope) {
@ -142,7 +142,7 @@ export class RemixCompletionProvider implements languages.CompletionItemProvider
} }
} }
} }
} //}
} }
} else { } else {

Loading…
Cancel
Save