whitespace
pull/2790/head
bunsenstraat 2 years ago
parent 20055f378a
commit 50137bc519
  1. 1
      libs/remix-ui/editor/src/lib/providers/completionProvider.ts

@ -310,7 +310,6 @@ export class RemixCompletionProvider implements languages.CompletionItemProvider
nodes = [...Object.values(fileNodes.imports), ...nodes] nodes = [...Object.values(fileNodes.imports), ...nodes]
// at the nodes at the block itself // at the nodes at the block itself
nodes = [...nodes, ...await this.getBlockNodesAtPosition(position)] nodes = [...nodes, ...await this.getBlockNodesAtPosition(position)]
console.log(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 => { nodes = nodes.filter(node => {
if (node.visibility) { if (node.visibility) {

Loading…
Cancel
Save