diff --git a/libs/remix-ui/editor/src/lib/providers/completionProvider.ts b/libs/remix-ui/editor/src/lib/providers/completionProvider.ts index d9e9c05022..745c5e395b 100644 --- a/libs/remix-ui/editor/src/lib/providers/completionProvider.ts +++ b/libs/remix-ui/editor/src/lib/providers/completionProvider.ts @@ -310,7 +310,7 @@ export class RemixCompletionProvider implements languages.CompletionItemProvider nodes = [...Object.values(fileNodes.imports), ...nodes] // at the nodes at the block itself nodes = [...nodes, ...await this.getBlockNodesAtPosition(position)] - // filter private nodes, only allow them when contract ID is the same as the current contract + // filter private nodes, only allow them when contract ID is the same as the current contract nodes = nodes.filter(node => { if (node.visibility) { if (node.visibility === 'private') {